Skip to content

Commit 34f0867

Browse files
committed
docs: make @var more specific
1 parent 0118dae commit 34f0867

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

system/Config/Factories.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class Factories
5353
* Mapping of class basenames (no namespace) to
5454
* their instances.
5555
*
56-
* @var array[]
56+
* @var array<string, array<string, string>>
5757
* @phpstan-var array<string, array<string, class-string>>
5858
*/
5959
protected static $basenames = [];
@@ -64,7 +64,7 @@ class Factories
6464
* A multi-dimensional array with components as
6565
* keys to the array of name-indexed instances.
6666
*
67-
* @var array[]
67+
* @var array<string, array<string, object>>
6868
* @phpstan-var array<string, array<class-string, object>>
6969
*/
7070
protected static $instances = [];

0 commit comments

Comments
 (0)