Skip to content

Commit 7a6ee1e

Browse files
author
Benoit VRIGNAUD
committed
Fix doc error
show_404() doesn't exist any more
1 parent 10aabdc commit 7a6ee1e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

user_guide_src/source/incoming/controllers.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ Example::
189189
{
190190
return $this->$method(...$params);
191191
}
192-
show_404();
192+
throw \CodeIgniter\Exceptions\PageNotFoundException::forPageNotFound();
193193
}
194194

195195
Private methods

0 commit comments

Comments
 (0)