Skip to content

Commit 61c24bf

Browse files
Merge pull request #2643 from antograssiot/bc-searchfilter
[2.4] Allow autowiring of class extending SearchFilter
2 parents 5c222d3 + 6d632f2 commit 61c24bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Bridge/Doctrine/Orm/Filter/SearchFilter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class SearchFilter extends AbstractContextAwareFilter implements SearchFilterInt
4141
/**
4242
* @param RequestStack|null $requestStack No prefix to prevent autowiring of this deprecated property
4343
*/
44-
public function __construct(ManagerRegistry $managerRegistry, $requestStack, IriConverterInterface $iriConverter, PropertyAccessorInterface $propertyAccessor = null, LoggerInterface $logger = null, array $properties = null)
44+
public function __construct(ManagerRegistry $managerRegistry, $requestStack = null, IriConverterInterface $iriConverter, PropertyAccessorInterface $propertyAccessor = null, LoggerInterface $logger = null, array $properties = null)
4545
{
4646
parent::__construct($managerRegistry, $requestStack, $logger, $properties);
4747

0 commit comments

Comments
 (0)