Skip to content

Commit e1f0f9f

Browse files
authored
add missing backslash
1 parent 7402724 commit e1f0f9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/dev/framework/hooks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ You can add your custom logic to hooks by extending the `TL_HOOKS` key in the
6666

6767
```php
6868
// contao/config.php
69-
$GLOBALS['TL_HOOKS']['activateAccount'][] = [App\EventListener\ActivateAccountListener::class, 'onActivateAccount'];
69+
$GLOBALS['TL_HOOKS']['activateAccount'][] = [\App\EventListener\ActivateAccountListener::class, 'onActivateAccount'];
7070
```
7171

7272
In this case, the method `onActivateAccount` in the class `App\EventListener\ActivateAccountListener` is called as soon as the hook

0 commit comments

Comments
 (0)