Skip to content

Commit 9da23d3

Browse files
committed
symfony 6 support (psalm errors suppressed)
1 parent 79bef4b commit 9da23d3

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/ClickStrategyApplicator/CompositeClickStrategyApplicator.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,14 @@ final class CompositeClickStrategyApplicator extends ArrayCollection implements
1111
/** @var string */
1212
private $clickStrategy;
1313

14-
public function __construct(array $elements = [], string $clickStrategy = '')
14+
/**
15+
* @psalm-suppress ConstructorSignatureMismatch, ImplementedParamTypeMismatch, InvalidPropertyAssignmentValue
16+
*/
17+
public function __construct(string $clickStrategy)
1518
{
1619
$this->clickStrategy = $clickStrategy;
1720

18-
parent::__construct($elements);
21+
parent::__construct();
1922
}
2023

2124
public function addClickStrategyApplicator(ClickStrategyApplicatorInterface $clickStrategyApplicator, string $alias): void

0 commit comments

Comments
 (0)