@@ -4,7 +4,7 @@ |
||
4 | 4 | |
5 | 5 | abstract class EntityCollection extends \ArrayObject |
6 | 6 | { |
7 | - public function toArray() |
|
7 | + public function toArray () |
|
8 | 8 | { |
9 | 9 | $ret = []; |
10 | 10 | /** @var Entity $entity */ |
@@ -24,7 +24,7 @@ |
||
24 | 24 | mayHaveAsArray as public getMessages; |
25 | 25 | } |
26 | 26 | |
27 | - public function getIsResidential() |
|
27 | + public function getIsResidential () |
|
28 | 28 | { |
29 | 29 | $is_residential = $this->attributes->mayHave('is_residential')->value(); |
30 | 30 | if ($is_residential === null) { |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use ShippoClient\Entity\Parcel; |
6 | 6 | use ShippoClient\Entity\ParcelCollection; |
7 | -use TurmericSpice\Container; |
|
8 | 7 | |
9 | 8 | class ParcelList extends ListResponse |
10 | 9 | { |
@@ -7,7 +7,7 @@ |
||
7 | 7 | /** |
8 | 8 | * @param Address[] $entities |
9 | 9 | */ |
10 | - public function __construct(array $entities) |
|
10 | + public function __construct (array $entities) |
|
11 | 11 | { |
12 | 12 | parent::__construct($entities); |
13 | 13 | } |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use ShippoClient\Entity\Parcel; |
6 | 6 | use ShippoClient\Entity\ParcelCollection; |
7 | -use TurmericSpice\Container; |
|
8 | 7 | |
9 | 8 | class ParcelList extends ListResponse |
10 | 9 | { |
@@ -10,7 +10,7 @@ |
||
10 | 10 | /** |
11 | 11 | * @return RefundCollection |
12 | 12 | */ |
13 | - public function getResults() |
|
13 | + public function getResults () |
|
14 | 14 | { |
15 | 15 | $entities = []; |
16 | 16 | foreach ($this->attributes->mayHave('results')->asArray() as $attributes) { |
@@ -7,7 +7,7 @@ |
||
7 | 7 | /** |
8 | 8 | * @param Address[] $entities |
9 | 9 | */ |
10 | - public function __construct(array $entities) |
|
10 | + public function __construct (array $entities) |
|
11 | 11 | { |
12 | 12 | parent::__construct($entities); |
13 | 13 | } |
@@ -7,7 +7,7 @@ |
||
7 | 7 | /** |
8 | 8 | * @param Address[] $entities |
9 | 9 | */ |
10 | - public function __construct(array $entities) |
|
10 | + public function __construct (array $entities) |
|
11 | 11 | { |
12 | 12 | parent::__construct($entities); |
13 | 13 | } |
@@ -7,7 +7,7 @@ |
||
7 | 7 | /** |
8 | 8 | * @param Address[] $entities |
9 | 9 | */ |
10 | - public function __construct(array $entities) |
|
10 | + public function __construct (array $entities) |
|
11 | 11 | { |
12 | 12 | parent::__construct($entities); |
13 | 13 | } |
@@ -7,7 +7,7 @@ |
||
7 | 7 | /** |
8 | 8 | * @param Address[] $entities |
9 | 9 | */ |
10 | - public function __construct(array $entities) |
|
10 | + public function __construct (array $entities) |
|
11 | 11 | { |
12 | 12 | parent::__construct($entities); |
13 | 13 | } |
@@ -7,7 +7,7 @@ |
||
7 | 7 | /** |
8 | 8 | * @param Address[] $entities |
9 | 9 | */ |
10 | - public function __construct(array $entities) |
|
10 | + public function __construct (array $entities) |
|
11 | 11 | { |
12 | 12 | parent::__construct($entities); |
13 | 13 | } |