@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace AcquiroPay\Paymarket\Resources; |
6 | 6 | |
@@ -40,9 +40,9 @@ discard block |
||
40 | 40 | { |
41 | 41 | parent::__construct($attributes); |
42 | 42 | |
43 | - $this->isActiveForMerchant = (bool)array_get($attributes, 'pivot.is_active'); |
|
43 | + $this->isActiveForMerchant = (bool) array_get($attributes, 'pivot.is_active'); |
|
44 | 44 | |
45 | - $this->parameters = array_map(function (array $parameterAttributes) { |
|
45 | + $this->parameters = array_map(function(array $parameterAttributes) { |
|
46 | 46 | return new ServiceParameter($parameterAttributes); |
47 | 47 | }, $attributes['parameters'] ?? []); |
48 | 48 | } |