Passed
Push — master ( c81098...521ad8 )
by Paul
02:34
created
src/Traits/GeneratorTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
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
                 }
Please login to merge, or discard this patch.
src/CoreObject.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -124,6 +124,6 @@
 block discarded – undo
124 124
 
125 125
     public function hasRetriever(): bool
126 126
     {
127
-        return (bool)$this->retriever;
127
+        return (bool) $this->retriever;
128 128
     }
129 129
 }
Please login to merge, or discard this patch.
src/Traits/CoreTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.