We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cbb3f5 commit 466ee3fCopy full SHA for 466ee3f
1 file changed
system/CodeIgniter.php
@@ -35,7 +35,6 @@
35
use Config\Cache;
36
use Config\Feature;
37
use Config\Kint as KintConfig;
38
-use Config\Routing;
39
use Config\Services;
40
use Exception;
41
use Kint;
@@ -909,7 +908,7 @@ protected function startController()
909
908
}
910
911
// Execute route attributes' before() methods
912
- if ((config('Routing')->useControllerAttributes ?? true)) { // @phpstan-ignore nullCoalesce.property
+ if ((config('Routing')->useControllerAttributes ?? true) === true) { // @phpstan-ignore nullCoalesce.property
913
$this->benchmark->start('route_attributes_before');
914
$attributeResponse = $this->router->executeBeforeAttributes($this->request);
915
$this->benchmark->stop('route_attributes_before');
0 commit comments