@@ -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'); |
@@ -498,7 +498,7 @@ |
||
| 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 | } |
@@ -281,7 +281,7 @@ discard block |
||
| 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 |
||
| 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 | ]))); |