|
@@ -123,7 +123,7 @@ |
|
|
block discarded – undo |
|
123
|
123
|
public static function findOneBy(RepositoryInterface $repository, string $field, array $criteria = []): \Closure |
|
124
|
124
|
{ |
|
125
|
125
|
return |
|
126
|
|
- /** @param mixed $previousValue */ |
|
|
126
|
+ /** @param string $previousValue */ |
|
127
|
127
|
function (Options $options, $previousValue) use ($repository, $field, $criteria): ?object { |
|
128
|
128
|
if (null === $previousValue || [] === $previousValue) { |
|
129
|
129
|
return $previousValue; |
Please login to merge, or discard this patch.