Completed
Push — symfony-3.3 ( dce4db...b2ae2b )
by Kamil
37:19 queued 16:26
created
DependencyInjection/Compiler/RegisterPromotionActionsPass.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
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'];
Please login to merge, or discard this patch.
PromotionBundle/DependencyInjection/Compiler/RegisterRuleCheckersPass.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
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'];
Please login to merge, or discard this patch.