File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -247,8 +247,8 @@ private function rebuildRequest(string $pathinfo): Request
247247
248248 private function getErrorMessage (
249249 string $ name ,
250- RouterInterface |UrlGeneratorInterface |RequestMatcherInterface $ router = null ,
251- array $ parameters = null
250+ RouterInterface |UrlGeneratorInterface |RequestMatcherInterface | null $ router = null ,
251+ ? array $ parameters = null
252252 ): string {
253253 if ($ router instanceof VersatileGeneratorInterface) {
254254 // the $parameters are not forced to be array, but versatile generator does typehint it
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ final class RouterMatchEvent extends Event
1818{
1919 private ?Request $ request ;
2020
21- public function __construct (Request $ request = null )
21+ public function __construct (? Request $ request = null )
2222 {
2323 $ this ->request = $ request ;
2424 }
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ class ProviderBasedGenerator extends UrlGenerator implements VersatileGeneratorI
2626{
2727 protected RouteProviderInterface $ provider ;
2828
29- public function __construct (RouteProviderInterface $ provider , LoggerInterface $ logger = null )
29+ public function __construct (RouteProviderInterface $ provider , ? LoggerInterface $ logger = null )
3030 {
3131 $ this ->provider = $ provider ;
3232 $ this ->logger = $ logger ?: new NullLogger ();
You can’t perform that action at this time.
0 commit comments