@@ -117,7 +117,7 @@ |
||
| 117 | 117 | |
| 118 | 118 | private function getTestBlueprintClosure() : \Closure |
| 119 | 119 | { |
| 120 | - return function (Blueprint $blueprint) { |
|
| 120 | + return function(Blueprint $blueprint) { |
|
| 121 | 121 | $blueprint->integer('id'); |
| 122 | 122 | $blueprint->text('name'); |
| 123 | 123 | $blueprint->keyword('email'); |
@@ -43,10 +43,10 @@ |
||
| 43 | 43 | $this->blueprint->range('RANGE_DOUBLE', 'double'); |
| 44 | 44 | $this->blueprint->range('RANGE_DATE', 'date'); |
| 45 | 45 | $this->blueprint->range('RANGE_IP', 'ip'); |
| 46 | - $this->blueprint->nested('NESTED')->callback(function (Blueprint $blueprint) { |
|
| 46 | + $this->blueprint->nested('NESTED')->callback(function(Blueprint $blueprint) { |
|
| 47 | 47 | $blueprint->keyword('NESTED_KEYWORD'); |
| 48 | 48 | }); |
| 49 | - $this->blueprint->object('OBJECT')->callback(function (Blueprint $blueprint) { |
|
| 49 | + $this->blueprint->object('OBJECT')->callback(function(Blueprint $blueprint) { |
|
| 50 | 50 | $blueprint->keyword('OBJECT_KEYWORD'); |
| 51 | 51 | }); |
| 52 | 52 | $this->blueprint->geoPoint('GEO_POINT'); |
@@ -256,7 +256,7 @@ discard block |
||
| 256 | 256 | ] |
| 257 | 257 | ] |
| 258 | 258 | ], $this->compiler->compileNested(new Fluent([ |
| 259 | - 'callback' => function (Blueprint $blueprint) { |
|
| 259 | + 'callback' => function(Blueprint $blueprint) { |
|
| 260 | 260 | $blueprint->keyword('KEYWORD'); |
| 261 | 261 | } |
| 262 | 262 | ]))); |
@@ -275,7 +275,7 @@ discard block |
||
| 275 | 275 | ] |
| 276 | 276 | ] |
| 277 | 277 | ], $this->compiler->compileObject(new Fluent([ |
| 278 | - 'callback' => function (Blueprint $blueprint) { |
|
| 278 | + 'callback' => function(Blueprint $blueprint) { |
|
| 279 | 279 | $blueprint->keyword('KEYWORD'); |
| 280 | 280 | } |
| 281 | 281 | ]))); |
@@ -472,7 +472,7 @@ |
||
| 472 | 472 | if ($field instanceof Fluent && !is_null($field->type)) { |
| 473 | 473 | $method = 'compile' . ucfirst($this->camelize($field->type)); |
| 474 | 474 | if (method_exists($this, $method)) { |
| 475 | - $statements[$field->name] = (array)$this->$method($field); |
|
| 475 | + $statements[$field->name] = (array) $this->$method($field); |
|
| 476 | 476 | } |
| 477 | 477 | } |
| 478 | 478 | } |