Skip to content

Commit 62b0e81

Browse files
authored
docs: add SingletonFactory inheritance for FooUserActivityEvent (#559)
* docs: add SingletonFactory inheritance for FooUserActivityEvent Ref: line 90 in wcf\data\user\activity\event\ViewableUserActivityEventList * docs: add SingletonFactory inheritance for FooUserActivityEvent
1 parent f9602d5 commit 62b0e81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/php/api/user_activity_events.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ To integrate user activity events into your package, you have to register object
1414
</type>
1515
```
1616

17-
Specify multiple object types if you want to provide multiple types of user activity events.
17+
Specify multiple object types if you want to provide multiple types of user activity events.
1818

1919
Example of the implementation of the `wcf\system\user\activity\event\IUserActivityEvent` interface:
2020

@@ -28,7 +28,7 @@ use wcf\system\user\activity\event\IUserActivityEvent;
2828
use wcf\system\WCF;
2929
use wcf\util\StringUtil;
3030

31-
final class FooUserActivityEvent implements IUserActivityEvent
31+
final class FooUserActivityEvent extends SingletonFactory implements IUserActivityEvent
3232
{
3333
public function prepare(array $events)
3434
{

0 commit comments

Comments
 (0)