Passed
Push — develop ( 23d850...73e75c )
by Kenneth
01:44
created
src/Bindings/MySQLBindings.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -32,8 +32,8 @@  discard block
 block discarded – undo
32 32
             throw new DomainException('Can not bind NULL in boolean spot.');
33 33
         }
34 34
 
35
-        $value = (bool)$value;
36
-        $value = $int ? (int)$value : $value;
35
+        $value = (bool) $value;
36
+        $value = $int ? (int) $value : $value;
37 37
         $type = $int ? PDO::PARAM_INT : PDO::PARAM_BOOL;
38 38
 
39 39
         return [$value, $type];
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
 
171 171
         $value = sprintf('%u', $value);
172 172
 
173
-        return [(int)$value, PDO::PARAM_INT];
173
+        return [(int) $value, PDO::PARAM_INT];
174 174
     }
175 175
 
176 176
     /**
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
         $numbers = array();
194 194
 
195 195
         foreach ($data as $value) {
196
-            $numbers[(int)$value] = true;
196
+            $numbers[(int) $value] = true;
197 197
         }
198 198
 
199 199
         $numbers = array_keys($numbers);
@@ -300,7 +300,7 @@  discard block
 block discarded – undo
300 300
             throw new DomainException('Can not bind NULL in string spot.');
301 301
         }
302 302
 
303
-        return [(string)$value, $type];
303
+        return [(string) $value, $type];
304 304
     }
305 305
 
306 306
     /**
Please login to merge, or discard this patch.