Skip to content

Commit 9be1bce

Browse files
committed
Fix typo causing a Sphinx warning
1 parent 5da55b4 commit 9be1bce

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

user_guide_src/source/installation/upgrade_4xx.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,7 @@ subforum for an up-to-date list!
105105
**Events**
106106

107107
- Hooks have been replaced by Events
108-
- Instead of CI3's ``$hook['post_controller_constructor']`` you now use
109-
``Events::on('post_controller_constructor', ['MyClass', 'MyFunction']);``,
110-
with the namespace ``CodeIgniter\Events\Events;``
108+
- Instead of CI3's ``$hook['post_controller_constructor']`` you now use ``Events::on('post_controller_constructor', ['MyClass', 'MyFunction']);``, with the namespace ``CodeIgniter\Events\Events;``
111109
- Events are always enabled, and are available globally
112110

113111
**Extending the framework**

0 commit comments

Comments
 (0)