Skip to content

Commit f3bcbfb

Browse files
committed
refactor: add property types
1 parent dec4b71 commit f3bcbfb

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

app/Config/Routing.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class Routing extends BaseRouting
7878
* Example:
7979
* public $override404 = 'App\Errors::show404';
8080
*/
81-
public $override404;
81+
public ?string $override404 = null;
8282

8383
/**
8484
* If TRUE, the system will attempt to match the URI against

system/Config/Routing.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class Routing extends BaseConfig
7676
* Example:
7777
* public $override404 = 'App\Errors::show404';
7878
*/
79-
public $override404;
79+
public ?string $override404 = null;
8080

8181
/**
8282
* If TRUE, the system will attempt to match the URI against

0 commit comments

Comments
 (0)