Hi, I've upgraded my composer packages via composer update command
Currently I'm running on mezon/router@1.3.5
I've got this error on my own framework after version upgrade and none of my routes are not working now.
global.ERROR: Router Caught An Exception: 0;'uFramework\Controller\settings::routeIndex' must be callable entity [] []
Something wrong about this checker method. It cannot check static class methods are really exists and callable.
Temporarily I've changed code like this and it works now.
I don't know why did you add more complex checks on that line but it brokes static method checks
private function canBeCalled($processor, ?string $functionName): bool
{
return is_callable($processor);
}
Hi, I've upgraded my composer packages via composer update command Currently I'm running on mezon/router@1.3.5 I've got this error on my own framework after version upgrade and none of my routes are not working now.
global.ERROR: Router Caught An Exception: 0;'uFramework\Controller\settings::routeIndex' must be callable entity [] []
Something wrong about this checker method. It cannot check static class methods are really exists and callable.
Here is the parameters when calling canBeCalled method. That class is exists, included and method is static.
Temporarily I've changed code like this and it works now. I don't know why did you add more complex checks on that line but it brokes static method checks