Passed
Pull Request — master (#388)
by
unknown
02:00
created
src/Picqer/Financials/Exact/Query/Resultset.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
         $class = $this->class;
82 82
 
83 83
         foreach ($result as $r) {
84
-           yield new $class($this->connection, $r);
84
+            yield new $class($this->connection, $r);
85 85
         }
86 86
     }
87 87
 }
Please login to merge, or discard this patch.
src/Picqer/Financials/Exact/Query/Findable.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
 
109 109
         $result = $this->connection()->get($this->url(), $request, $headers);
110 110
 
111
-        if (! empty($divisionId)) {
111
+        if ( ! empty($divisionId)) {
112 112
             $this->connection()->setDivision($originalDivision); // Restore division
113 113
         }
114 114
 
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
             $result = [$result];
149 149
         }
150 150
 
151
-        foreach($result as $row){
151
+        foreach ($result as $row) {
152 152
             yield new self($this->connection(), $row);
153 153
         }
154 154
 
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
                 $nextResult = [$nextResult];
161 161
             }
162 162
 
163
-            foreach($nextResult as $row){
163
+            foreach ($nextResult as $row) {
164 164
                 yield new self($this->connection(), $row);
165 165
             }
166 166
         }
Please login to merge, or discard this patch.