Completed
Push — master ( 8c9478...0f7d17 )
by Adam
02:25
created
src/VOString/Attribute.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 {
16 16
     /**
17 17
      * @param  array  $array
18
-     * @return string
18
+     * @return Attribute
19 19
      */
20 20
     public static function fromArray(array $array)
21 21
     {
Please login to merge, or discard this patch.
src/VOString/Pair.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
 {
15 15
     /**
16 16
      * @param array $array
17
-     * @return string
17
+     * @return Pair
18 18
      */
19 19
     public static function fromArray(array $array)
20 20
     {
Please login to merge, or discard this patch.
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.