Passed
Pull Request — master (#10)
by Alex
03:29
created
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/LaravelWebPushServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
         $this->app->bind(P256EncryptedMessageBuilderContract::class, P256EncryptedMessageBuilder::class);
26 26
         $this->app->bind(P256EncryptedMessageContract::class, P256EncryptedMessage::class);
27 27
         $this->app->bind(JWTGeneratorContract::class, JWTGenerator::class);
28
-        $this->app->bind(EC::class, static function () {
28
+        $this->app->bind(EC::class, static function() {
29 29
             return new EC('p256');
30 30
         });
31 31
 
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
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
      */
33 33
     public function __toString(): string
34 34
     {
35
-        return (string)$this->toJson();
35
+        return (string) $this->toJson();
36 36
     }
37 37
 
38 38
     /**
Please login to merge, or discard this patch.