We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc337ad commit 4ec92fdCopy full SHA for 4ec92fd
docs/php/api/acp_dashboard_boxes.md
@@ -46,7 +46,7 @@ return static function (): void {
46
$eventHandler = EventHandler::getInstance();
47
48
$eventHandler->register(BoxCollecting::class, static function (BoxCollecting $event) {
49
- $event->register(\wcf\system\acp\dashboard\box\FooBox::class);
+ $event->register(new \wcf\system\acp\dashboard\box\FooBox());
50
});
51
};
52
```
0 commit comments