Skip to content
Merged
Prev Previous commit
Next Next commit
StyleCI
  • Loading branch information
danmatthews committed Mar 13, 2025
commit a21f837c0ba4e415f9c579be9f60dd0056ab8e99
4 changes: 2 additions & 2 deletions src/Illuminate/Database/Migrations/Migrator.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public function run($paths = [], array $options = [])
return $migrations;
}

/**
/**
* Determine if the migration should be ran.
*
* @param string $file
Expand All @@ -149,7 +149,7 @@ public function run($paths = [], array $options = [])
public function shouldMigrationBeRan($file)
{
$instance = $this->resolvePath($file);

return $instance instanceof Migration ? $instance->shouldRun() : false;
}

Expand Down
Loading