Skip to content

Commit dae7496

Browse files
committed
Fix phpstan
1 parent dff4fd7 commit dae7496

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

system/Database/Forge.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class Forge
3939
/**
4040
* List of keys.
4141
*
42-
* @phpstan-var array{fields: string[], keyName: string}
42+
* @phpstan-var array|array{fields: string[], keyName: string}
4343
* @var array
4444
*/
4545
protected $keys = [];
@@ -54,7 +54,7 @@ class Forge
5454
/**
5555
* Primary keys.
5656
*
57-
* @phpstan-var array{fields: string[], keyName: string}
57+
* @phpstan-var array|array{fields: string[], keyName: string}
5858
* @var array
5959
*/
6060
protected $primaryKeys = [];

0 commit comments

Comments
 (0)