@@ -88,7 +88,7 @@ discard block |
||
| 88 | 88 | */ |
| 89 | 89 | public function getMigrations($reverse = false) |
| 90 | 90 | { |
| 91 | - $files = $this->laravel['files']->glob($this->getPath() . '/*_*.php'); |
|
| 91 | + $files = $this->laravel['files']->glob($this->getPath().'/*_*.php'); |
|
| 92 | 92 | |
| 93 | 93 | // Once we have the array of files in the directory we will just remove the |
| 94 | 94 | // extension and take the basename of the file which is all we need when |
@@ -97,7 +97,7 @@ discard block |
||
| 97 | 97 | return []; |
| 98 | 98 | } |
| 99 | 99 | |
| 100 | - $files = array_map(function ($file) { |
|
| 100 | + $files = array_map(function($file) { |
|
| 101 | 101 | return str_replace('.php', '', basename($file)); |
| 102 | 102 | }, $files); |
| 103 | 103 | |
@@ -214,7 +214,7 @@ discard block |
||
| 214 | 214 | { |
| 215 | 215 | $path = $this->getPath(); |
| 216 | 216 | foreach ($files as $file) { |
| 217 | - $this->laravel['files']->requireOnce($path . '/' . $file . '.php'); |
|
| 217 | + $this->laravel['files']->requireOnce($path.'/'.$file.'.php'); |
|
| 218 | 218 | } |
| 219 | 219 | } |
| 220 | 220 | |
@@ -297,7 +297,7 @@ discard block |
||
| 297 | 297 | |
| 298 | 298 | $result = $query->orderBy('migration', 'desc')->get(); |
| 299 | 299 | |
| 300 | - return collect($result)->map(function ($item) { |
|
| 300 | + return collect($result)->map(function($item) { |
|
| 301 | 301 | return (array) $item; |
| 302 | 302 | })->pluck('migration'); |
| 303 | 303 | } |