@@ -39,7 +39,7 @@ |
||
| 39 | 39 | throw new \InvalidArgumentException('Tagged tax calculation strategies need to have `type` and `label` attributes.'); |
| 40 | 40 | } |
| 41 | 41 | |
| 42 | - $priority = (int)($attribute['priority'] ?? 0); |
|
| 42 | + $priority = (int) ($attribute['priority'] ?? 0); |
|
| 43 | 43 | |
| 44 | 44 | $strategies[$attribute['type']] = $attribute['label']; |
| 45 | 45 | |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | throw new \InvalidArgumentException('Tagged payment methods resolvers need to have `type` and `label` attributes.'); |
| 38 | 38 | } |
| 39 | 39 | |
| 40 | - $priority = (int)($attribute['priority'] ?? 0); |
|
| 40 | + $priority = (int) ($attribute['priority'] ?? 0); |
|
| 41 | 41 | |
| 42 | 42 | $resolvers[$attribute['type']] = $attribute['label']; |
| 43 | 43 | |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | throw new \InvalidArgumentException('Tagged shipping methods resolvers need to have `type` and `label` attributes.'); |
| 38 | 38 | } |
| 39 | 39 | |
| 40 | - $priority = (int)($attribute['priority'] ?? 0); |
|
| 40 | + $priority = (int) ($attribute['priority'] ?? 0); |
|
| 41 | 41 | |
| 42 | 42 | $resolvers[$attribute['type']] = $attribute['label']; |
| 43 | 43 | |