We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02d6bc5 commit 38344c3Copy full SHA for 38344c3
src/Parser.php
@@ -393,7 +393,7 @@ protected function parseWith($withParam)
393
} else if ($relationType === 'HasManyThrough') {
394
if (method_exists($relation, 'getQualifiedLocalKeyName')) {
395
$firstKey = $relation->getQualifiedLocalKeyName();
396
- } elseif (method_exists($relation, 'getExistenceCompareKey')) {
+ } else if (method_exists($relation, 'getExistenceCompareKey')) {
397
// compatibility for laravel 5.4
398
$firstKey = $relation->getExistenceCompareKey();
399
} else {
0 commit comments