Aggiornato Composer
This commit is contained in:
18
vendor/symfony/routing/Annotation/Route.php
vendored
18
vendor/symfony/routing/Annotation/Route.php
vendored
@@ -49,20 +49,20 @@ class Route
|
||||
public function __construct(
|
||||
$data = [],
|
||||
$path = null,
|
||||
string $name = null,
|
||||
?string $name = null,
|
||||
array $requirements = [],
|
||||
array $options = [],
|
||||
array $defaults = [],
|
||||
string $host = null,
|
||||
?string $host = null,
|
||||
$methods = [],
|
||||
$schemes = [],
|
||||
string $condition = null,
|
||||
int $priority = null,
|
||||
string $locale = null,
|
||||
string $format = null,
|
||||
bool $utf8 = null,
|
||||
bool $stateless = null,
|
||||
string $env = null
|
||||
?string $condition = null,
|
||||
?int $priority = null,
|
||||
?string $locale = null,
|
||||
?string $format = null,
|
||||
?bool $utf8 = null,
|
||||
?bool $stateless = null,
|
||||
?string $env = null
|
||||
) {
|
||||
if (\is_string($data)) {
|
||||
$data = ['path' => $data];
|
||||
|
||||
Reference in New Issue
Block a user