@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | */ |
| 57 | 57 | public function create($collection, Closure $callback, $config = []) |
| 58 | 58 | { |
| 59 | - $this->build(tap($this->createBlueprint($collection), function ($blueprint) use ($callback, $config) { |
|
| 59 | + $this->build(tap($this->createBlueprint($collection), function($blueprint) use ($callback, $config) { |
|
| 60 | 60 | $blueprint->create($config); |
| 61 | 61 | |
| 62 | 62 | $callback($blueprint); |
@@ -170,7 +170,7 @@ discard block |
||
| 170 | 170 | */ |
| 171 | 171 | protected function getAllCollections(array $options = []) |
| 172 | 172 | { |
| 173 | - if (! isset($options['excludeSystem'])) { |
|
| 173 | + if (!isset($options['excludeSystem'])) { |
|
| 174 | 174 | $options['excludeSystem'] = true; |
| 175 | 175 | } |
| 176 | 176 | |
@@ -108,7 +108,7 @@ discard block |
||
| 108 | 108 | |
| 109 | 109 | $this->prefix = $prefix; |
| 110 | 110 | |
| 111 | - if (! is_null($callback)) { |
|
| 111 | + if (!is_null($callback)) { |
|
| 112 | 112 | $callback($this); |
| 113 | 113 | } |
| 114 | 114 | } |
@@ -124,7 +124,7 @@ discard block |
||
| 124 | 124 | { |
| 125 | 125 | $this->connection = $connection; |
| 126 | 126 | |
| 127 | - if (! isset($grammar)) { |
|
| 127 | + if (!isset($grammar)) { |
|
| 128 | 128 | $this->grammar = $connection->getSchemaGrammar(); |
| 129 | 129 | } |
| 130 | 130 | |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | */ |
| 29 | 29 | protected function creating() |
| 30 | 30 | { |
| 31 | - return collect($this->commands)->contains(function ($command) { |
|
| 31 | + return collect($this->commands)->contains(function($command) { |
|
| 32 | 32 | return $command->name === 'create'; |
| 33 | 33 | }); |
| 34 | 34 | } |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | } |
| 50 | 50 | |
| 51 | 51 | $collections = $this->collectionHandler->getAllCollections(['excludeSystem' => true]); |
| 52 | - if (! isset($collections[$this->table])) { |
|
| 52 | + if (!isset($collections[$this->table])) { |
|
| 53 | 53 | $this->collectionHandler->create($this->table, $options); |
| 54 | 54 | } |
| 55 | 55 | } |