@@ -92,7 +92,7 @@ |
||
92 | 92 | */ |
93 | 93 | public function getPayload(): string |
94 | 94 | { |
95 | - if( !$this->audience ){ |
|
95 | + if (!$this->audience) { |
|
96 | 96 | throw new \Exception('No audience set'); |
97 | 97 | } |
98 | 98 |
@@ -255,7 +255,7 @@ |
||
255 | 255 | |
256 | 256 | $actions = $this->getActions(); |
257 | 257 | |
258 | - return array_map(function (MessageActionContract $action) { |
|
258 | + return array_map(function(MessageActionContract $action) { |
|
259 | 259 | return $action->toArray(); |
260 | 260 | }, $actions); |
261 | 261 | } |
@@ -346,7 +346,7 @@ |
||
346 | 346 | */ |
347 | 347 | public function __toString(): string |
348 | 348 | { |
349 | - if( $string = $this->toJson() ){ |
|
349 | + if ($string = $this->toJson()) { |
|
350 | 350 | return (string) $string; |
351 | 351 | } |
352 | 352 |