Aggiornato Composer
This commit is contained in:
4
vendor/symfony/console/Helper/HelperSet.php
vendored
4
vendor/symfony/console/Helper/HelperSet.php
vendored
@@ -37,7 +37,7 @@ class HelperSet implements \IteratorAggregate
|
||||
}
|
||||
}
|
||||
|
||||
public function set(HelperInterface $helper, string $alias = null)
|
||||
public function set(HelperInterface $helper, ?string $alias = null)
|
||||
{
|
||||
$this->helpers[$helper->getName()] = $helper;
|
||||
if (null !== $alias) {
|
||||
@@ -76,7 +76,7 @@ class HelperSet implements \IteratorAggregate
|
||||
/**
|
||||
* @deprecated since Symfony 5.4
|
||||
*/
|
||||
public function setCommand(Command $command = null)
|
||||
public function setCommand(?Command $command = null)
|
||||
{
|
||||
trigger_deprecation('symfony/console', '5.4', 'Method "%s()" is deprecated.', __METHOD__);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user