Updated MultiSessionCommand

updated:
- updated wording
- code refactoring
This commit is contained in:
Setiawan Hu 2020-08-14 00:54:51 +07:00
parent 80caf5e454
commit 5bcf730685

View File

@ -67,7 +67,7 @@ class MultiSessionCommand extends Command
$this->exportMigration($tableName, $user ?? null); $this->exportMigration($tableName, $user ?? null);
$this->info('Migration file exported.'); $this->info('Migration file generated.');
} }
/** /**
@ -78,7 +78,7 @@ class MultiSessionCommand extends Command
*/ */
public function exportMigration(string $tableName, string $relation = null) public function exportMigration(string $tableName, string $relation = null)
{ {
if ($relation == null) { if (is_null($relation)) {
$relation = 'App/User'; $relation = 'App/User';
} }