Skip to content

Commit da1aa06

Browse files
committed
Temporarily fix issues with artisan model:show
#105
1 parent 0eb283b commit da1aa06

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/HasJsonRelationships.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ public function hasManyThroughJson(
324324
if ($firstKey instanceof JsonKey) {
325325
$relationships[] = $this->hasManyJson($through, $firstKey, $localKey);
326326

327-
$relationships[] = $through->hasMany($related, $secondKey, $secondLocalKey);
327+
$relationships[] = $through->hasMany ($related, $secondKey, $secondLocalKey);
328328
} else {
329329
if (!method_exists($through, 'belongsToJson')) {
330330
//@codeCoverageIgnoreStart
@@ -334,7 +334,7 @@ public function hasManyThroughJson(
334334
// @codeCoverageIgnoreEnd
335335
}
336336

337-
$relationships[] = $this->hasMany($through, $firstKey, $localKey);
337+
$relationships[] = $this->hasMany ($through, $firstKey, $localKey);
338338

339339
$relationships[] = $through->belongsToJson($related, $secondLocalKey, $secondKey);
340340
}

0 commit comments

Comments
 (0)