Update vendor folder and generated files
This commit is contained in:
committed by
Frédéric Guillot
parent
25b93343ba
commit
280bc2a41e
@@ -33,7 +33,7 @@ class FactoryCommandLoader implements CommandLoaderInterface
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function has($name)
|
||||
public function has(string $name)
|
||||
{
|
||||
return isset($this->factories[$name]);
|
||||
}
|
||||
@@ -41,7 +41,7 @@ class FactoryCommandLoader implements CommandLoaderInterface
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function get($name)
|
||||
public function get(string $name)
|
||||
{
|
||||
if (!isset($this->factories[$name])) {
|
||||
throw new CommandNotFoundException(sprintf('Command "%s" does not exist.', $name));
|
||||
|
||||
Reference in New Issue
Block a user