@@ -35,11 +35,11 @@ discard block |
||
| 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 |
||
| 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 | |