Passed
Push — master ( b1108a...6611ee )
by Nicolas
03:14
created
src/Karma/Hydrator.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -256,12 +256,12 @@  discard block
 block discarded – undo
256 256
         $values = $this->readValueToInject($variable, $environment);
257 257
         $formatter = $this->getFormatterForCurrentTargetFile();
258 258
 
259
-        if(! is_array($values))
259
+        if( ! is_array($values))
260 260
         {
261 261
             $values = array($values);
262 262
         }
263 263
 
264
-        array_walk($values, function (& $value) use ($formatter) {
264
+        array_walk($values, function(& $value) use ($formatter) {
265 265
             $value = $formatter->format($value);
266 266
         });
267 267
 
@@ -370,7 +370,7 @@  discard block
 block discarded – undo
370 370
                 {
371 371
                     $values = $this->readValueToInject($matches['variableName'], $environment);
372 372
 
373
-                    if(!is_array($values))
373
+                    if( ! is_array($values))
374 374
                     {
375 375
                         throw new \RuntimeException(sprintf(
376 376
                             "Nested variable detected [%s] while writing %s at line %d",
Please login to merge, or discard this patch.