@@ -186,8 +186,8 @@ |
||
| 186 | 186 | */ |
| 187 | 187 | protected function updateLightStack(int $newCount) |
| 188 | 188 | { |
| 189 | - $this->lightStack[$newCount - 1]['count']--; |
|
| 190 | - if (0 == $this->lightStack[$newCount - 1]['count']) { |
|
| 189 | + $this->lightStack[$newCount-1]['count']--; |
|
| 190 | + if (0 == $this->lightStack[$newCount-1]['count']) { |
|
| 191 | 191 | array_pop($this->lightStack); |
| 192 | 192 | } |
| 193 | 193 | } |
@@ -63,7 +63,7 @@ |
||
| 63 | 63 | { |
| 64 | 64 | $class = __CLASS__; |
| 65 | 65 | if (!isset($classMap[$class])) { |
| 66 | - throw new \Exception(sprintf('%s was not found in autoload class map, this usually indicates you '. |
|
| 66 | + throw new \Exception(sprintf('%s was not found in autoload class map, this usually indicates you ' . |
|
| 67 | 67 | 'need to dump an optimised autoloader (`composer dump-autoload -o`)', $class)); |
| 68 | 68 | } |
| 69 | 69 | } |
@@ -56,7 +56,7 @@ |
||
| 56 | 56 | |
| 57 | 57 | protected function polyglotThroughKey(Relation $rel) |
| 58 | 58 | { |
| 59 | - if (! $rel instanceof HasManyThrough) { |
|
| 59 | + if (!$rel instanceof HasManyThrough) { |
|
| 60 | 60 | return null; |
| 61 | 61 | } |
| 62 | 62 | $segments = explode('.', $rel->{$this->checkMethodNameList($rel, ['getThroughKey', 'getQualifiedFirstKeyName'])}()); |