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

@@ -31,7 +31,7 @@ class ClosureLoader extends Loader
*
* @return RouteCollection
*/
public function load($closure, string $type = null)
public function load($closure, ?string $type = null)
{
return $closure($this->env);
}
@@ -39,7 +39,7 @@ class ClosureLoader extends Loader
/**
* {@inheritdoc}
*/
public function supports($resource, string $type = null)
public function supports($resource, ?string $type = null)
{
return $resource instanceof \Closure && (!$type || 'closure' === $type);
}