mirror of
https://github.com/danog/laravel-madeline-proto.git
synced 2024-11-29 20:18:59 +01:00
Updated MultiSessionCommand
updated: - updated wording - code refactoring
This commit is contained in:
parent
80caf5e454
commit
5bcf730685
@ -67,7 +67,7 @@ class MultiSessionCommand extends Command
|
||||
|
||||
$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)
|
||||
{
|
||||
if ($relation == null) {
|
||||
if (is_null($relation)) {
|
||||
$relation = 'App/User';
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user