Slightly cleanup

This commit is contained in:
Dane Everitt 2021-01-23 14:12:15 -08:00
parent 07798b7366
commit fa9431c54d
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
8 changed files with 16 additions and 191 deletions

View file

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