Apply fixes from StyleCI (#17)

This commit is contained in:
Pig Fang 2019-03-13 11:25:20 +08:00 committed by GitHub
parent cd2711942e
commit 891676c7ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,8 +40,9 @@ class MigratePlayersTable extends Command
*/
public function handle()
{
if (!Schema::hasColumn('players', 'tid_steve')) {
if (! Schema::hasColumn('players', 'tid_steve')) {
$this->info('No need to update.');
return;
}
@ -51,6 +52,7 @@ class MigratePlayersTable extends Command
if ($count == 0) {
$this->dropColumn();
$this->info('No need to update.');
return;
}