Skip to content

Commit 485da03

Browse files
committed
fix: merge conflicts
codeigniter4#7543
1 parent eac3eda commit 485da03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

system/Router/AutoRouterImproved.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,9 +254,9 @@ public function getRoute(string $uri, string $httpVerb): array
254254
'Cannot access the default method "' . $this->method . '" with the method name URI path.'
255255
);
256256
}
257-
} elseif (method_exists($this->controller, $this->defaultMethod)) {
257+
} elseif (method_exists($this->controller, $defaultMethod)) {
258258
// The default method is found.
259-
$this->method = $this->defaultMethod;
259+
$this->method = $defaultMethod;
260260
} else {
261261
// No method is found.
262262
throw PageNotFoundException::forControllerNotFound($this->controller, $method);

0 commit comments

Comments
 (0)