From ec2e48dbaca7b6c028c8ed6228ae3432f4c522d9 Mon Sep 17 00:00:00 2001 From: sclubricants Date: Fri, 23 Sep 2022 09:21:50 -0700 Subject: [PATCH] Fix phpstan --- system/Database/Forge.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/Database/Forge.php b/system/Database/Forge.php index cadde578085b..e2d5d477f64f 100644 --- a/system/Database/Forge.php +++ b/system/Database/Forge.php @@ -39,7 +39,7 @@ class Forge /** * List of keys. * - * @phpstan-var array{fields: string[], keyName: string} + * @phpstan-var array|array{fields: string[], keyName: string} * @var array */ protected $keys = []; @@ -54,7 +54,7 @@ class Forge /** * Primary keys. * - * @phpstan-var array{fields: string[], keyName: string} + * @phpstan-var array|array{fields: string[], keyName: string} * @var array */ protected $primaryKeys = [];