@@ -7,7 +7,7 @@ |
||
| 7 | 7 | /** |
| 8 | 8 | * @param Rate[] $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 Transaction[] $entities |
| 9 | 9 | */ |
| 10 | - public function __construct(array $entities) |
|
| 10 | + public function __construct (array $entities) |
|
| 11 | 11 | { |
| 12 | 12 | parent::__construct($entities); |
| 13 | 13 | } |
@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | * |
| 49 | 49 | * @return mixed|null |
| 50 | 50 | */ |
| 51 | - public function getAvailableShippo() |
|
| 51 | + public function getAvailableShippo () |
|
| 52 | 52 | { |
| 53 | 53 | return $this->attributes->mayHave('available_shippo')->value(); |
| 54 | 54 | } |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | * |
| 59 | 59 | * @return mixed|null |
| 60 | 60 | */ |
| 61 | - public function getOutboundEndpoint() |
|
| 61 | + public function getOutboundEndpoint () |
|
| 62 | 62 | { |
| 63 | 63 | return $this->attributes->mayHave('outbound_endpoint')->value(); |
| 64 | 64 | } |
@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | * |
| 69 | 69 | * @return mixed|null |
| 70 | 70 | */ |
| 71 | - public function getInboundEndpoint() |
|
| 71 | + public function getInboundEndpoint () |
|
| 72 | 72 | { |
| 73 | 73 | return $this->attributes->mayHave('inbound_endpoint')->value(); |
| 74 | 74 | } |
@@ -78,7 +78,7 @@ discard block |
||
| 78 | 78 | * |
| 79 | 79 | * @return mixed|null |
| 80 | 80 | */ |
| 81 | - public function getArrivesBy() |
|
| 81 | + public function getArrivesBy () |
|
| 82 | 82 | { |
| 83 | 83 | return $this->attributes->mayHave('arrives_by')->value(); |
| 84 | 84 | } |
@@ -88,7 +88,7 @@ discard block |
||
| 88 | 88 | * |
| 89 | 89 | * @return mixed|null |
| 90 | 90 | */ |
| 91 | - public function getDeliveryAttempts() |
|
| 91 | + public function getDeliveryAttempts () |
|
| 92 | 92 | { |
| 93 | 93 | return $this->attributes->mayHave('delivery_attempts')->value(); |
| 94 | 94 | } |
@@ -7,7 +7,7 @@ |
||
| 7 | 7 | /** |
| 8 | 8 | * @param Parcel[] $entities |
| 9 | 9 | */ |
| 10 | - public function __construct(array $entities) |
|
| 10 | + public function __construct (array $entities) |
|
| 11 | 11 | { |
| 12 | 12 | parent::__construct($entities); |
| 13 | 13 | } |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | * |
| 20 | 20 | * @return string |
| 21 | 21 | */ |
| 22 | - public function getObjectStatus() |
|
| 22 | + public function getObjectStatus () |
|
| 23 | 23 | { |
| 24 | 24 | return $this->attributes->mayHave('object_status')->asString(); |
| 25 | 25 | } |
@@ -7,7 +7,7 @@ |
||
| 7 | 7 | /** |
| 8 | 8 | * @param Refund[] $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 Shipment[] $entities |
| 9 | 9 | */ |
| 10 | - public function __construct(array $entities) |
|
| 10 | + public function __construct (array $entities) |
|
| 11 | 11 | { |
| 12 | 12 | parent::__construct($entities); |
| 13 | 13 | } |
@@ -19,7 +19,7 @@ discard block |
||
| 19 | 19 | * |
| 20 | 20 | * @return \DateTime |
| 21 | 21 | */ |
| 22 | - public function getObjectCreated() |
|
| 22 | + public function getObjectCreated () |
|
| 23 | 23 | { |
| 24 | 24 | return $this->attributes->mayHave('object_created')->asInstanceOf('\\DateTime'); |
| 25 | 25 | } |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | * |
| 30 | 30 | * @return \DateTime |
| 31 | 31 | */ |
| 32 | - public function getObjectUpdated() |
|
| 32 | + public function getObjectUpdated () |
|
| 33 | 33 | { |
| 34 | 34 | return $this->attributes->mayHave('object_updated')->asInstanceOf('\\DateTime'); |
| 35 | 35 | } |
@@ -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 */ |