Completed
Push — master ( 38bd8a...117b4b )
by Freek
09:57 queued 07:12
created
src/IonicPushChannel.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
      */
34 34
     public function send($notifiable, Notification $notification)
35 35
     {
36
-        if (! $routing = collect($notifiable->routeNotificationFor('IonicPush'))) {
36
+        if (!$routing = collect($notifiable->routeNotificationFor('IonicPush'))) {
37 37
             return;
38 38
         }
39 39
 
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 
46 46
         $ionicPushData = array_merge(
47 47
             $notification->toIonicPush($notifiable)->toArray(),
48
-            ['tokens' => $routing->first()]
48
+            [ 'tokens' => $routing->first() ]
49 49
         );
50 50
 
51 51
         $response = $this->client->post(self::API_ENDPOINT, [
Please login to merge, or discard this patch.
src/IonicPushMessage.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
      *
13 13
      * @return static
14 14
      */
15
-    public static function create($data = [])
15
+    public static function create($data = [ ])
16 16
     {
17 17
         return new static($data);
18 18
     }
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
     /**
21 21
      * @param array $data
22 22
      */
23
-    public function __construct($data = [])
23
+    public function __construct($data = [ ])
24 24
     {
25 25
         $this->data = $data;
26 26
     }
Please login to merge, or discard this patch.