Completed
Push — develop ( 6a1d06...9b69c7 )
by Stuart
02:02
created
src/string-functions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
         // in case a named parameter appears multiple times in the format string
100 100
         if ($paramKeys[$paramName] === -1) {
101 101
             // no - it needs a home
102
-            $messageData[$nextData] =& $args[$paramName];
102
+            $messageData[$nextData] = & $args[$paramName];
103 103
             $paramKeys[$paramName] = $nextData;
104 104
             $nextData++;
105 105
         }
Please login to merge, or discard this patch.
src/TypeInspectors/GetPrintableType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@
 block discarded – undo
127 127
         }
128 128
 
129 129
         // $data contains an <object, method> pair
130
-        return "callable<" . get_class($data[0]). "::" . $data[1] . ">";
130
+        return "callable<" . get_class($data[0]) . "::" . $data[1] . ">";
131 131
     }
132 132
 
133 133
     /**
Please login to merge, or discard this patch.
src/TypeInspectors/GetStrictTypes.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -49,9 +49,9 @@  discard block
 block discarded – undo
49 49
 class GetStrictTypes
50 50
 {
51 51
     private static $dispatchMap = [
52
-        'array' => [ GetArrayTypes::class, 'from' ],
53
-        'object' => [ GetObjectTypes::class, 'from' ],
54
-        'string' => [ GetStringTypes::class, 'from' ],
52
+        'array' => [GetArrayTypes::class, 'from'],
53
+        'object' => [GetObjectTypes::class, 'from'],
54
+        'string' => [GetStringTypes::class, 'from'],
55 55
     ];
56 56
 
57 57
     /**
@@ -84,6 +84,6 @@  discard block
 block discarded – undo
84 84
         }
85 85
 
86 86
         // if we get here, then we just return the PHP scalar type
87
-        return [ $type ];
87
+        return [$type];
88 88
     }
89 89
 }
Please login to merge, or discard this patch.
src/TypeInspectors/GetStringTypes.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -118,14 +118,14 @@
 block discarded – undo
118 118
         }
119 119
 
120 120
         // if we get here, then $item will coerce to a PHP numeric type :)
121
-        return [ $retval ];
121
+        return [$retval];
122 122
     }
123 123
 
124 124
     private static function fromObject($item)
125 125
     {
126 126
         // does this object support being converted to a string?
127 127
         if (method_exists($item, '__toString')) {
128
-            return [ 'string' ];
128
+            return ['string'];
129 129
         }
130 130
 
131 131
         // no, it does not
Please login to merge, or discard this patch.