Completed
Push — master ( a61b3b...89deac )
by Bas
03:01
created
src/Providers/CommandServiceProvider.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
      */
57 57
     protected function registerRepository()
58 58
     {
59
-        $this->app->singleton('migration.repository', function ($app) {
59
+        $this->app->singleton('migration.repository', function($app) {
60 60
             $collection = $app['config']['database.migrations'];
61 61
 
62 62
             return new DatabaseMigrationRepository($app['db'], $collection);
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
 
66 66
     protected function registerCreator()
67 67
     {
68
-        $this->app->singleton('migration.creator', function ($app) {
68
+        $this->app->singleton('migration.creator', function($app) {
69 69
             return new MigrationCreator($app['files']);
70 70
         });
71 71
     }
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
      */
78 78
     protected function registerMigrateMakeCommand()
79 79
     {
80
-        $this->app->singleton('command.migrate.make', function ($app) {
80
+        $this->app->singleton('command.migrate.make', function($app) {
81 81
             $creator = $app['migration.creator'];
82 82
 
83 83
             $composer = $app['composer'];
@@ -88,14 +88,14 @@  discard block
 block discarded – undo
88 88
 
89 89
     protected function registerAranguentConvertMigrationsCommand()
90 90
     {
91
-        $this->app->singleton('command.aranguent.convert-migrations', function ($app) {
91
+        $this->app->singleton('command.aranguent.convert-migrations', function($app) {
92 92
             return new AranguentConvertMigrationsCommand($app['migrator']);
93 93
         });
94 94
     }
95 95
 
96 96
     protected function registerMakeModelCommand()
97 97
     {
98
-        $this->app->singleton('command.model.make', function ($app) {
98
+        $this->app->singleton('command.model.make', function($app) {
99 99
             return new ModelAranguentCommand($app['files']);
100 100
         });
101 101
     }
Please login to merge, or discard this patch.
src/Schema/Blueprint.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
 
103 103
         $this->prefix = $prefix;
104 104
 
105
-        if (! is_null($callback)) {
105
+        if (!is_null($callback)) {
106 106
             $callback($this);
107 107
         }
108 108
     }
@@ -248,7 +248,7 @@  discard block
 block discarded – undo
248 248
      */
249 249
     protected function creating()
250 250
     {
251
-        return collect($this->commands)->contains(function ($command) {
251
+        return collect($this->commands)->contains(function($command) {
252 252
             return $command->name === 'create';
253 253
         });
254 254
     }
@@ -284,7 +284,7 @@  discard block
 block discarded – undo
284 284
         }
285 285
 
286 286
         $collections = $this->collectionHandler->getAllCollections(['excludeSystem' => true]);
287
-        if (! isset($collections[$this->collection])) {
287
+        if (!isset($collections[$this->collection])) {
288 288
             $this->collectionHandler->create($this->collection, $options);
289 289
         }
290 290
     }
Please login to merge, or discard this patch.