Passed
Branch master (512d52)
by Bas
08:47
created
src/Schema/Builder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Schema/Blueprint.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Schema/Concerns/Tables.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.