Completed
Push — master ( ef96a9...24dfd0 )
by Lars
01:55
created
src/Collection/AbstractCollection.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
     public function where(string $keyOrPropertyOrMethod, $value): CollectionInterface
196 196
     {
197 197
         return $this->filter(
198
-            function ($item) use ($keyOrPropertyOrMethod, $value) {
198
+            function($item) use ($keyOrPropertyOrMethod, $value) {
199 199
                 $accessorValue = $this->extractValue(
200 200
                     $item,
201 201
                     $keyOrPropertyOrMethod
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
     {
238 238
         if ($this->checkType($this->collectionType, $value) === false) {
239 239
             throw new \InvalidArgumentException(
240
-                'Value must be of type ' . $this->collectionType . '; type is ' . \gettype($value) . ', value is "' . $this->valueToString($value) . '"'
240
+                'Value must be of type '.$this->collectionType.'; type is '.\gettype($value).', value is "'.$this->valueToString($value).'"'
241 241
             );
242 242
         }
243 243
     }
@@ -350,10 +350,10 @@  discard block
 block discarded – undo
350 350
 
351 351
         // resource
352 352
         if (\is_resource($value)) {
353
-            return \get_resource_type($value) . ' resource #' . (int) $value;
353
+            return \get_resource_type($value).' resource #'.(int) $value;
354 354
         }
355 355
 
356 356
         // object
357
-        return \get_class($value) . ' Object';
357
+        return \get_class($value).' Object';
358 358
     }
359 359
 }
Please login to merge, or discard this patch.