Aggiornato Composer

This commit is contained in:
Paolo A
2024-05-17 12:24:19 +00:00
parent 4ac62108b5
commit ec201d75b2
2238 changed files with 38684 additions and 59785 deletions

View File

@@ -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];