Skip to content

Commit 25a72df

Browse files
committed
Cache annotations
1 parent 97a41d6 commit 25a72df

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/Metadata/VersionData.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,11 @@
1313

1414
final class VersionData
1515
{
16-
private static $_cache = [];
17-
private static $_all = null;
16+
/** @var array<string, VersionData> */
17+
private static array $_cache = [];
18+
19+
/** @var array<string, VersionData>|null */
20+
private static array|null $_all = null;
1821

1922
public readonly int $majorVersion;
2023
public readonly int $minorVersion;

0 commit comments

Comments
 (0)