projects
/
GitHub
/
WoltLab
/
woltlab.github.io.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc337ad
)
Fix wrong call for acp dashboard boxes
author
Peter Lohse
<hanashi@hanashi.eu>
Tue, 6 Aug 2024 13:15:34 +0000
(15:15 +0200)
committer
Peter Lohse
<hanashi@hanashi.eu>
Tue, 6 Aug 2024 13:15:34 +0000
(15:15 +0200)
docs/php/api/acp_dashboard_boxes.md
patch
|
blob
|
blame
|
history
diff --git
a/docs/php/api/acp_dashboard_boxes.md
b/docs/php/api/acp_dashboard_boxes.md
index c7f5e54da5ec7aa99a4c38c73a7ef3098ba69649..2f250f55f3fd240c2e771b0f39629229030c352c 100644
(file)
--- a/
docs/php/api/acp_dashboard_boxes.md
+++ b/
docs/php/api/acp_dashboard_boxes.md
@@
-46,7
+46,7
@@
return static function (): void {
$eventHandler = EventHandler::getInstance();
$eventHandler->register(BoxCollecting::class, static function (BoxCollecting $event) {
- $event->register(
\wcf\system\acp\dashboard\box\FooBox::class
);
+ $event->register(
new \wcf\system\acp\dashboard\box\FooBox()
);
});
};
```