Skip to content

Commit 81732cf

Browse files
committed
Fix wrong PHPDoc type on CategoryCacheData::objectTypeCategoryIDs
1 parent c530bee commit 81732cf

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

wcfsetup/install/files/lib/system/cache/eager/data/CategoryCacheData.class.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,14 @@
1212
*/
1313
final class CategoryCacheData
1414
{
15+
/**
16+
* @param Category[] $categories
17+
* @param array<string, list<int>> $objectTypeCategoryIDs
18+
*/
1519
public function __construct(
16-
/** @var Category[] */
1720
public readonly array $categories,
18-
/** @var array<int, list<int>> */
1921
public readonly array $objectTypeCategoryIDs
20-
) {
21-
}
22+
) {}
2223

2324
public function getCategory(int $categoryID): ?Category
2425
{

0 commit comments

Comments
 (0)