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