Skip to content

Commit 123f378

Browse files
committed
docs: add type to class property in sample code
1 parent f7ce5cd commit 123f378

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • user_guide_src/source/incoming/routing

user_guide_src/source/incoming/routing/051.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
class Routing extends \BaseRouting
55
{
66
// ...
7-
public $override404 = 'App\Errors::show404';
7+
public ?string $override404 = 'App\Errors::show404';
88
// ...
99
}
1010

0 commit comments

Comments
 (0)