Slightly cleanup

This commit is contained in:
Dane Everitt
2021-01-23 14:12:15 -08:00
parent 07798b7366
commit fa9431c54d
8 changed files with 16 additions and 191 deletions

View File

@@ -10,12 +10,10 @@ class SeedCommand extends BaseSeedCommand
use RequiresDatabaseMigrations;
/**
* Block someone from running this seed command if they have not completed the migration
* process.
*
* @return int
* Block someone from running this seed command if they have not completed
* the migration process.
*/
public function handle()
public function handle(): int
{
if (!$this->hasCompletedMigrations()) {
return $this->showMigrationWarning();