Completed
Branch master (45d984)
by Freek
05:40
created
Category
src/IonicPushMessage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 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
     }
Please login to merge, or discard this patch.
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
 
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
             throw InvalidConfiguration::configurationNotSet();
44 44
         }
45 45
 
46
-        $ionicPushData = array_merge($notification->toIonicPush($notifiable)->toArray(), ['tokens' => $routing->first()]);
46
+        $ionicPushData = array_merge($notification->toIonicPush($notifiable)->toArray(), [ 'tokens' => $routing->first() ]);
47 47
 
48 48
         $response = $this->client->post(self::API_ENDPOINT, [
49 49
             'body' => json_encode($ionicPushData),
Please login to merge, or discard this patch.