@@ -18,7 +18,7 @@ |
||
| 18 | 18 | protected function __setUp_GeneratorTrait(): void |
| 19 | 19 | { |
| 20 | 20 | $this->CoreTrait_getCoreObject()->setRetriever( |
| 21 | - function ($object) { |
|
| 21 | + function($object) { |
|
| 22 | 22 | foreach ($object as $key => $value) { |
| 23 | 23 | yield $key => $value; |
| 24 | 24 | } |
@@ -124,6 +124,6 @@ |
||
| 124 | 124 | |
| 125 | 125 | public function hasRetriever(): bool |
| 126 | 126 | { |
| 127 | - return (bool)$this->retriever; |
|
| 127 | + return (bool) $this->retriever; |
|
| 128 | 128 | } |
| 129 | 129 | } |
@@ -137,7 +137,7 @@ |
||
| 137 | 137 | $classTraits = class_uses($this); |
| 138 | 138 | |
| 139 | 139 | foreach ($traits as $trait) { |
| 140 | - if(!in_array($trait, $classTraits)) { |
|
| 140 | + if (!in_array($trait, $classTraits)) { |
|
| 141 | 141 | throw new \Exception("{$currentTrait} requaires trait {$trait}"); |
| 142 | 142 | } |
| 143 | 143 | } |