@@ -35,7 +35,7 @@ |
||
35 | 35 | $promotionActionTypeToLabelMap = []; |
36 | 36 | foreach ($container->findTaggedServiceIds('sylius.promotion_action') as $id => $attributes) { |
37 | 37 | if (!isset($attributes[0]['type'], $attributes[0]['label'], $attributes[0]['form_type'])) { |
38 | - throw new \InvalidArgumentException('Tagged promotion action `'.$id.'` needs to have `type`, `form_type` and `label` attributes.'); |
|
38 | + throw new \InvalidArgumentException('Tagged promotion action `' . $id . '` needs to have `type`, `form_type` and `label` attributes.'); |
|
39 | 39 | } |
40 | 40 | |
41 | 41 | $promotionActionTypeToLabelMap[$attributes[0]['type']] = $attributes[0]['label']; |
@@ -35,7 +35,7 @@ |
||
35 | 35 | $promotionRuleCheckerTypeToLabelMap = []; |
36 | 36 | foreach ($container->findTaggedServiceIds('sylius.promotion_rule_checker') as $id => $attributes) { |
37 | 37 | if (!isset($attributes[0]['type'], $attributes[0]['label'], $attributes[0]['form_type'])) { |
38 | - throw new \InvalidArgumentException('Tagged rule checker `'.$id.'` needs to have `type`, `form_type` and `label` attributes.'); |
|
38 | + throw new \InvalidArgumentException('Tagged rule checker `' . $id . '` needs to have `type`, `form_type` and `label` attributes.'); |
|
39 | 39 | } |
40 | 40 | |
41 | 41 | $promotionRuleCheckerTypeToLabelMap[$attributes[0]['type']] = $attributes[0]['label']; |