Permalink
Browse files

formatting

  • Loading branch information...
taylorotwell committed Nov 28, 2018
1 parent f5e3d7f commit c4b13bfd115bcfd54588ad2a5809fea2222d1cdb
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Illuminate/Database/Migrations/Migrator.php
@@ -428,7 +428,7 @@ public function resolve($file)
public function getMigrationFiles($paths)
{
return Collection::make($paths)->flatMap(function ($path) {
return ends_with($path, '.php') ? [$path] : $this->files->glob($path.'/*_*.php');
return Str::endsWith($path, '.php') ? [$path] : $this->files->glob($path.'/*_*.php');
})->filter()->sortBy(function ($file) {
return $this->getMigrationName($file);
})->values()->keyBy(function ($file) {

0 comments on commit c4b13bf

Please sign in to comment.