[Symfony] fix process error of controller with Internationalize… (#2600)

[Symfony] fix process error of controller with Internationalized routing
This commit is contained in:
Tomas Votruba 2020-01-07 13:50:05 +01:00 committed by GitHub
commit 5ce4357b89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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