Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Nov 28, 2018
1 parent f5e3d7f commit c4b13bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Database/Migrations/Migrator.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit c4b13bf

Please sign in to comment.