You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like they don't (I think because of with PHP 8). At least I don't see the error in my code if any. I'm getting : "Unknown named parameter $num1" in HttpKernel.php on line 177.
Steps to reproduce (in case of a bug)
Create a routing of the type : App::route()->get()->url('/joro-test/{num1}/{num2}')->handle('TestController@check');
Controller looks like this :
class TestController {
public function check(RequestInterface $request, $view, $num1, $num2) {
return App::view("web/test/check")->with( "someVar", $num2 ?? "bang" );
}
}
Comments : I see similar complaints with Symfony routing, which is similar.
The text was updated successfully, but these errors were encountered:
Version
Expected behavior
Routings with parameters should work.
Actual behavior
Looks like they don't (I think because of with PHP 8). At least I don't see the error in my code if any. I'm getting : "Unknown named parameter $num1" in HttpKernel.php on line 177.
Steps to reproduce (in case of a bug)
Create a routing of the type :
App::route()->get()->url('/joro-test/{num1}/{num2}')->handle('TestController@check');
Controller looks like this :
Comments : I see similar complaints with Symfony routing, which is similar.
The text was updated successfully, but these errors were encountered: