Skip to content

Commit 2b44908

Browse files
committed
Improve typings of the return type of IInteractionProvider::getObjectClassName()
1 parent 02a40a2 commit 2b44908

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

wcfsetup/install/files/lib/system/interaction/IInteractionProvider.class.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
namespace wcf\system\interaction;
44

5+
use wcf\data\DatabaseObject;
6+
57
/**
68
* Represents a provider that provides interactions that can be applied to a specific type of DatabaseObject.
79
*
@@ -41,6 +43,8 @@ public function addInteractionAfter(IInteraction|Divider $interaction, string $a
4143

4244
/**
4345
* Returns the class name of the object that the interactions can be applied to.
46+
*
47+
* @return class-string<DatabaseObject>
4448
*/
4549
public function getObjectClassName(): string;
4650
}

0 commit comments

Comments
 (0)