Passed
Push — master ( 3e0fbd...704a56 )
by Sebastian
02:01
created
src/ArrayList/ArrayListTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
     public function filterByKeys(array $keys)
204 204
     {
205 205
         $newInstance = new self();
206
-        $newInstance->setArray(array_filter($this->array, function ($key) use ($keys) {
206
+        $newInstance->setArray(array_filter($this->array, function($key) use ($keys) {
207 207
             return array_search($key, $keys) !== false;
208 208
         }, ARRAY_FILTER_USE_KEY));
209 209
         return $newInstance;
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
     public function flatten()
229 229
     {
230 230
         $flattenedArray = [];
231
-        array_walk_recursive($this->array, function ($item) use (&$flattenedArray) {
231
+        array_walk_recursive($this->array, function($item) use (&$flattenedArray) {
232 232
             $flattenedArray[] = $item;
233 233
         });
234 234
         $newInstance = new self();
Please login to merge, or discard this patch.