Completed
Push — master ( 8c9478...0f7d17 )
by Adam
02:25
created
src/VOArray/Map.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     public static function fromVariadic(VOClosure $value, array ...$array)
21 21
     {
22 22
         return new static(
23
-            call_user_func_array('array_map', array_merge([$value->getValue()], $array))
23
+            call_user_func_array('array_map', array_merge([ $value->getValue() ], $array))
24 24
         );
25 25
     }
26 26
 }
Please login to merge, or discard this patch.
src/VOClosure/KeyValue.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,8 +20,8 @@
 block discarded – undo
20 20
     public static function fromVars($prefix = null, $glue = null, $suffix = null)
21 21
     {
22 22
         return new static(
23
-            function ($key, $value) use ($prefix, $glue, $suffix) {
24
-                return $prefix . $key . $glue . $value . $suffix;
23
+            function($key, $value) use ($prefix, $glue, $suffix) {
24
+                return $prefix.$key.$glue.$value.$suffix;
25 25
             }
26 26
         );
27 27
     }
Please login to merge, or discard this patch.
src/VOObject.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,8 +23,8 @@
 block discarded – undo
23 23
      */
24 24
     public function __construct($value)
25 25
     {
26
-        if (! is_object($value)) {
27
-            throw new InvalidTypeException($value, ['object']);
26
+        if (!is_object($value)) {
27
+            throw new InvalidTypeException($value, [ 'object' ]);
28 28
         }
29 29
 
30 30
         $this->reflection = new \ReflectionClass($value);
Please login to merge, or discard this patch.