Completed
Branch version-1 (e85622)
by Alex
04:13
created
src/JWTGenerator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/PushMessage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -255,7 +255,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/MessageAction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -346,7 +346,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.