@@ -102,7 +102,7 @@ |
||
| 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 | } |
@@ -164,9 +164,9 @@ |
||
| 164 | 164 | ; |
| 165 | 165 | } |
| 166 | 166 | |
| 167 | - private static function getCouponNormalizer (?FactoryInterface $couponFactory): \Closure |
|
| 167 | + private static function getCouponNormalizer(?FactoryInterface $couponFactory): \Closure |
|
| 168 | 168 | { |
| 169 | - return function (Options $options, array $couponDefinitions) use ($couponFactory): array { |
|
| 169 | + return function (Options $options, array $couponDefinitions) use ($couponFactory) : array { |
|
| 170 | 170 | if (null === $couponFactory) { |
| 171 | 171 | throw new \RuntimeException('You must configure a $couponFactory'); |
| 172 | 172 | } |