Skip to content

Commit 748a7ea

Browse files
committed
again
1 parent 16f3e88 commit 748a7ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Test/DoctrineMongoDbOdmFilterTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function testApply(?array $properties, array $filterParameters, array $ex
5555

5656
protected function doTestApply(?array $properties, array $filterParameters, array $expectedPipeline, callable $filterFactory = null, string $resourceClass = null): void
5757
{
58-
$filterFactory ??= ($this->filterClass)(...);
58+
$filterFactory ??= fn (self $that, ManagerRegistry $managerRegistry, array $properties = null): FilterInterface => new ($this->filterClass)($that, $managerRegistry, null, $properties);
5959

6060
$repository = $this->repository;
6161
if ($resourceClass) {

0 commit comments

Comments
 (0)