We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e126fc5 + e8b3c54 commit 97a1176Copy full SHA for 97a1176
1 file changed
src/Router.php
@@ -175,7 +175,9 @@ public function directCall(array $route, $params = null): void
175
$this->handleMiddleware($route['middleware']['before']);
176
}
177
178
- $this->callActionThroughReflection($params, $action, $controller);
+ ((int) ini_get('zend.exception_ignore_args') === 1)
179
+ ? $this->callActionThroughReflection($params, $action, $controller)
180
+ : $this->callActionThroughException($params, $action, $controller);
181
182
if (isset($route['middleware']['after'])) {
183
$this->handleMiddleware($route['middleware']['after']);
0 commit comments