Skip to content

Commit

Permalink
docs: fix @var
Browse files Browse the repository at this point in the history
SessionConfig is required.
  • Loading branch information
kenjis committed Dec 22, 2022
1 parent b22fde7 commit 83cbf59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/Commands/Generators/MigrationGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ protected function prepare(string $class): string
$data['DBGroup'] = is_string($DBGroup) ? $DBGroup : 'default';
$data['DBDriver'] = config('Database')->{$data['DBGroup']}['DBDriver'];

/** @var SessionConfig|null $session */
/** @var SessionConfig $session */
$session = config('Session');

$data['matchIP'] = $session->matchIP;
Expand Down

0 comments on commit 83cbf59

Please sign in to comment.