@@ -38,5 +38,5 @@ |
||
| 38 | 38 | $obj = json_decode(json_encode($obj), true); |
| 39 | 39 | } |
| 40 | 40 | |
| 41 | - return (array)$obj; |
|
| 41 | + return (array) $obj; |
|
| 42 | 42 | } |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | // Don't redefine the functions if included multiple times. |
| 3 | 3 | if (!function_exists('Loevgaard\DandomainFoundation\createMoney')) { |
| 4 | - require_once __DIR__ . '/functions.php'; |
|
| 4 | + require_once __DIR__.'/functions.php'; |
|
| 5 | 5 | } |
@@ -94,7 +94,7 @@ |
||
| 94 | 94 | */ |
| 95 | 95 | public function getId(): int |
| 96 | 96 | { |
| 97 | - return (int)$this->id; |
|
| 97 | + return (int) $this->id; |
|
| 98 | 98 | } |
| 99 | 99 | |
| 100 | 100 | /** |
@@ -160,7 +160,7 @@ |
||
| 160 | 160 | */ |
| 161 | 161 | public function getId() : int |
| 162 | 162 | { |
| 163 | - return (int)$this->id; |
|
| 163 | + return (int) $this->id; |
|
| 164 | 164 | } |
| 165 | 165 | |
| 166 | 166 | /** |
@@ -269,7 +269,7 @@ discard block |
||
| 269 | 269 | */ |
| 270 | 270 | public function getId(): int |
| 271 | 271 | { |
| 272 | - return (int)$this->id; |
|
| 272 | + return (int) $this->id; |
|
| 273 | 273 | } |
| 274 | 274 | |
| 275 | 275 | /** |
@@ -287,7 +287,7 @@ discard block |
||
| 287 | 287 | */ |
| 288 | 288 | public function getExternalId(): int |
| 289 | 289 | { |
| 290 | - return (int)$this->externalId; |
|
| 290 | + return (int) $this->externalId; |
|
| 291 | 291 | } |
| 292 | 292 | |
| 293 | 293 | /** |
@@ -94,7 +94,7 @@ |
||
| 94 | 94 | */ |
| 95 | 95 | public function getId(): int |
| 96 | 96 | { |
| 97 | - return (int)$this->id; |
|
| 97 | + return (int) $this->id; |
|
| 98 | 98 | } |
| 99 | 99 | |
| 100 | 100 | /** |
@@ -269,7 +269,7 @@ discard block |
||
| 269 | 269 | */ |
| 270 | 270 | public function getId(): int |
| 271 | 271 | { |
| 272 | - return (int)$this->id; |
|
| 272 | + return (int) $this->id; |
|
| 273 | 273 | } |
| 274 | 274 | |
| 275 | 275 | /** |
@@ -287,7 +287,7 @@ discard block |
||
| 287 | 287 | */ |
| 288 | 288 | public function getExternalId(): int |
| 289 | 289 | { |
| 290 | - return (int)$this->externalId; |
|
| 290 | + return (int) $this->externalId; |
|
| 291 | 291 | } |
| 292 | 292 | |
| 293 | 293 | /** |
@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | */ |
| 68 | 68 | public function getId(): int |
| 69 | 69 | { |
| 70 | - return (int)$this->id; |
|
| 70 | + return (int) $this->id; |
|
| 71 | 71 | } |
| 72 | 72 | |
| 73 | 73 | /** |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | */ |
| 86 | 86 | public function getExternalId(): string |
| 87 | 87 | { |
| 88 | - return (string)$this->externalId; |
|
| 88 | + return (string) $this->externalId; |
|
| 89 | 89 | } |
| 90 | 90 | |
| 91 | 91 | /** |
@@ -269,7 +269,7 @@ discard block |
||
| 269 | 269 | */ |
| 270 | 270 | public function getId(): int |
| 271 | 271 | { |
| 272 | - return (int)$this->id; |
|
| 272 | + return (int) $this->id; |
|
| 273 | 273 | } |
| 274 | 274 | |
| 275 | 275 | /** |
@@ -287,7 +287,7 @@ discard block |
||
| 287 | 287 | */ |
| 288 | 288 | public function getExternalId(): int |
| 289 | 289 | { |
| 290 | - return (int)$this->externalId; |
|
| 290 | + return (int) $this->externalId; |
|
| 291 | 291 | } |
| 292 | 292 | |
| 293 | 293 | /** |