Completed
Pull Request — master (#26)
by
unknown
05:37
created
src/IonicPushChannel.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -35,11 +35,11 @@  discard block
 block discarded – undo
35 35
     {
36 36
         $routing = collect($notifiable->routeNotificationFor('IonicPush'));
37 37
         // remove empty device tokens
38
-        $routing->filter(function ($token) {
39
-            return ! empty($token);
38
+        $routing->filter(function($token) {
39
+            return !empty($token);
40 40
         });
41 41
         // if there are no valid device tokens then do not send the notification
42
-        if (! $routing->count() > 0) {
42
+        if (!$routing->count() > 0) {
43 43
             return;
44 44
         }
45 45
 
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
         $message = $notification->toIonicPush($notifiable);
53 53
 
54 54
         $ionicPushData = array_merge(
55
-            [$message->getSendToType() => $routing->all()],
55
+            [ $message->getSendToType() => $routing->all() ],
56 56
             $message->toArray()
57 57
         );
58 58
 
Please login to merge, or discard this patch.