upgraded dependencies

This commit is contained in:
RafficMohammed
2023-01-08 01:59:16 +05:30
parent 51056e3aad
commit f9ae387337
6895 changed files with 133617 additions and 178680 deletions

View File

@@ -36,7 +36,7 @@ class ContainerCommandLoader implements CommandLoaderInterface
/**
* {@inheritdoc}
*/
public function get($name)
public function get(string $name)
{
if (!$this->has($name)) {
throw new CommandNotFoundException(sprintf('Command "%s" does not exist.', $name));
@@ -48,7 +48,7 @@ class ContainerCommandLoader implements CommandLoaderInterface
/**
* {@inheritdoc}
*/
public function has($name)
public function has(string $name)
{
return isset($this->commandMap[$name]) && $this->container->has($this->commandMap[$name]);
}