mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
N°8017 - Security - dependabot - Symfony's VarDumper vulnerable to un… (#731)
Upgrade all Symfony components to last security fix (~6.4.0)
This commit is contained in:
@@ -61,7 +61,7 @@ class Definition
|
||||
*/
|
||||
public ?int $decorationOnInvalid = null;
|
||||
|
||||
public function __construct(string $class = null, array $arguments = [])
|
||||
public function __construct(?string $class = null, array $arguments = [])
|
||||
{
|
||||
if (null !== $class) {
|
||||
$this->setClass($class);
|
||||
@@ -133,7 +133,7 @@ class Definition
|
||||
*
|
||||
* @throws InvalidArgumentException in case the decorated service id and the new decorated service id are equals
|
||||
*/
|
||||
public function setDecoratedService(?string $id, string $renamedId = null, int $priority = 0, int $invalidBehavior = ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE): static
|
||||
public function setDecoratedService(?string $id, ?string $renamedId = null, int $priority = 0, int $invalidBehavior = ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE): static
|
||||
{
|
||||
if ($renamedId && $id === $renamedId) {
|
||||
throw new InvalidArgumentException(sprintf('The decorated service inner name for "%s" must be different than the service name itself.', $id));
|
||||
@@ -180,8 +180,6 @@ class Definition
|
||||
|
||||
/**
|
||||
* Gets the service class.
|
||||
*
|
||||
* @return class-string|null
|
||||
*/
|
||||
public function getClass(): ?string
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user