Skip to content

Commit 7cbb3f5

Browse files
committed
refactor: CodeIgniter class optimizations and cleanup
1 parent a84be72 commit 7cbb3f5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎system/CodeIgniter.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,7 @@ protected function startController()
909909
}
910910

911911
// Execute route attributes' before() methods
912-
if ((config(Routing::class)->useControllerAttributes ?? true) === true) { // @phpstan-ignore nullCoalesce.property
912+
if ((config('Routing')->useControllerAttributes ?? true)) { // @phpstan-ignore nullCoalesce.property
913913
$this->benchmark->start('route_attributes_before');
914914
$attributeResponse = $this->router->executeBeforeAttributes($this->request);
915915
$this->benchmark->stop('route_attributes_before');

0 commit comments

Comments
 (0)