fix process error of controller with Internationalized routing

This commit is contained in:
Andras Ratz 2020-01-07 13:37:10 +01:00
parent f28ddd0773
commit 8d62962d61

View File

@ -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 = [],