Skip to content

Commit 2790163

Browse files
committed
Minor type fixes
1 parent 6bfabe5 commit 2790163

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

wcfsetup/install/files/lib/data/category/AbstractDecoratedCategory.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public function getParentCategories()
109109
}
110110

111111
/**
112-
* @return static
112+
* @return ?static
113113
*/
114114
public function getParentCategory()
115115
{

wcfsetup/install/files/lib/system/attachment/AbstractAttachmentObjectType.class.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
namespace wcf\system\attachment;
44

5-
use wcf\data\DatabaseObjectDecorator;
6-
use wcf\data\IUserContent;
75
use wcf\system\WCF;
86
use wcf\util\ArrayUtil;
97

@@ -78,9 +76,7 @@ public function setCachedObjects(array $objects)
7876
/**
7977
* @inheritDoc
8078
*/
81-
public function cacheObjects(array $objectIDs)
82-
{
83-
}
79+
public function cacheObjects(array $objectIDs) {}
8480

8581
/**
8682
* @inheritDoc

0 commit comments

Comments
 (0)