From 83cbf59ef975e93b59409fb386748510cfdf1cc7 Mon Sep 17 00:00:00 2001 From: kenjis Date: Wed, 21 Dec 2022 15:50:28 +0900 Subject: [PATCH] docs: fix @var SessionConfig is required. --- system/Commands/Generators/MigrationGenerator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/Commands/Generators/MigrationGenerator.php b/system/Commands/Generators/MigrationGenerator.php index a47e34196063..07a74c46b53e 100644 --- a/system/Commands/Generators/MigrationGenerator.php +++ b/system/Commands/Generators/MigrationGenerator.php @@ -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;