mirror of
https://github.com/rectorphp/rector.git
synced 2025-04-22 00:12:29 +02:00
fix process error of controller with Internationalized routing
This commit is contained in:
parent
f28ddd0773
commit
8d62962d61
@ -26,7 +26,7 @@ final class SymfonyRouteTagValueNode extends AbstractTagValueNode
|
||||
public $name;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
* @var string|null
|
||||
*/
|
||||
private $path;
|
||||
|
||||
@ -62,7 +62,7 @@ final class SymfonyRouteTagValueNode extends AbstractTagValueNode
|
||||
* @param string[] $requirements
|
||||
*/
|
||||
public function __construct(
|
||||
string $path,
|
||||
?string $path,
|
||||
?string $name = null,
|
||||
array $methods = [],
|
||||
array $options = [],
|
||||
|
Loading…
x
Reference in New Issue
Block a user