|
@@ -102,7 +102,7 @@ |
|
|
block discarded – undo |
|
102
|
102
|
|
|
103
|
103
|
public static function findBy(RepositoryInterface $repository, string $field, array $criteria = []): \Closure |
|
104
|
104
|
{ |
|
105
|
|
- return function (Options $options, ?array $previousValues) use ($repository, $field, $criteria): ?iterable { |
|
|
105
|
+ return function (Options $options, ?array $previousValues) use ($repository, $field, $criteria) : ?iterable { |
|
106
|
106
|
if (null === $previousValues || [] === $previousValues) { |
|
107
|
107
|
return $previousValues; |
|
108
|
108
|
} |
Please login to merge, or discard this patch.