@@ -54,8 +54,9 @@ |
||
54 | 54 | } |
55 | 55 | } |
56 | 56 | |
57 | - protected function polyglotThroughKey(Relation $rel){ |
|
58 | - if(! $rel instanceof HasManyThrough){ |
|
57 | + protected function polyglotThroughKey(Relation $rel) |
|
58 | + { |
|
59 | + if(! $rel instanceof HasManyThrough) { |
|
59 | 60 | return null; |
60 | 61 | } |
61 | 62 | $segments = explode('.', $rel->{$this->checkMethodNameList($rel, ['getThroughKey', 'getQualifiedFirstKeyName'])}()); |