Slightly cleanup
This commit is contained in:
parent
07798b7366
commit
fa9431c54d
8 changed files with 16 additions and 191 deletions
|
@ -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();
|
||||
|
|
Reference in a new issue