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 = [];