|
@@ -166,7 +166,7 @@ |
|
|
block discarded – undo |
|
166
|
166
|
|
|
167
|
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
|
} |
Please login to merge, or discard this patch.