Failed Conditions
Pull Request — master (#2)
by Christopher
05:47
created
src/Mapping/Compiler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -498,7 +498,7 @@
 block discarded – undo
498 498
             if ($field instanceof Fluent && !is_null($field->type)) {
499 499
                 $method = 'compile' . ucfirst(camel_case($field->type));
500 500
                 if (method_exists($this, $method)) {
501
-                    $statements[$field->name] = (array)$this->$method($field);
501
+                    $statements[$field->name] = (array) $this->$method($field);
502 502
                 }
503 503
             }
504 504
         }
Please login to merge, or discard this patch.
tests/Unit/Mapping/CompilerTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -281,7 +281,7 @@  discard block
 block discarded – undo
281 281
                 ]
282 282
             ]
283 283
         ], $this->compiler->compileNested(new FluentNested([
284
-            'callback' => function (Blueprint $blueprint) {
284
+            'callback' => function(Blueprint $blueprint) {
285 285
                 $blueprint->keyword('KEYWORD');
286 286
             }
287 287
         ])));
@@ -300,7 +300,7 @@  discard block
 block discarded – undo
300 300
                 ]
301 301
             ]
302 302
         ], $this->compiler->compileObject(new FluentObject([
303
-            'callback' => function (Blueprint $blueprint) {
303
+            'callback' => function(Blueprint $blueprint) {
304 304
                 $blueprint->keyword('KEYWORD');
305 305
             }
306 306
         ])));
Please login to merge, or discard this patch.