Completed
Pull Request — master (#11)
by alexfloppy
02:29
created
app/Console/Commands/MakeJsonApiDemoRemove.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -169,7 +169,7 @@
 block discarded – undo
169 169
 
170 170
             if (file_exists(app_path('JsonApi'))) {
171 171
                 if(!@rmdir(app_path('JsonApi'))) {
172
-                     throw new \League\Flysystem\Exception('JsonApi directory is not empty!');
172
+                        throw new \League\Flysystem\Exception('JsonApi directory is not empty!');
173 173
                 };
174 174
             }
175 175
         } catch (\League\Flysystem\Exception $e) {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
     {
131 131
         foreach ($this->migrations as $key => $value) {
132 132
             $mask = database_path('migrations/*' . $value);
133
-            array_map( "unlink", glob( $mask ) );
133
+            array_map("unlink", glob($mask));
134 134
         }
135 135
     }
136 136
 
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
             }
169 169
 
170 170
             if (file_exists(app_path('JsonApi'))) {
171
-                if(!@rmdir(app_path('JsonApi'))) {
171
+                if (!@rmdir(app_path('JsonApi'))) {
172 172
                      throw new \League\Flysystem\Exception('JsonApi directory is not empty!');
173 173
                 };
174 174
             }
Please login to merge, or discard this patch.