@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | */ |
53 | 53 | public function __construct($to = '') |
54 | 54 | { |
55 | - $this->to = ! empty($to) ? $to : 'all'; |
|
55 | + $this->to = !empty($to) ? $to : 'all'; |
|
56 | 56 | } |
57 | 57 | |
58 | 58 | /***/ |
@@ -269,23 +269,23 @@ discard block |
||
269 | 269 | * Set Optional Parameters |
270 | 270 | * @var [type] |
271 | 271 | */ |
272 | - if (! empty($this->priority)) { |
|
272 | + if (!empty($this->priority)) { |
|
273 | 273 | $message['priority'] = $this->priority; |
274 | 274 | } |
275 | 275 | |
276 | - if (! empty($this->time_to_live)) { |
|
276 | + if (!empty($this->time_to_live)) { |
|
277 | 277 | $message['time_to_live'] = $this->time_to_live; |
278 | 278 | } |
279 | 279 | |
280 | - if (! empty($this->icon)) { |
|
280 | + if (!empty($this->icon)) { |
|
281 | 281 | $message['icon'] = $this->icon; |
282 | 282 | } |
283 | 283 | |
284 | - if (! empty($this->badge)) { |
|
284 | + if (!empty($this->badge)) { |
|
285 | 285 | $message['badge'] = $this->badge; |
286 | 286 | } |
287 | 287 | |
288 | - if (! empty($this->image)) { |
|
288 | + if (!empty($this->image)) { |
|
289 | 289 | $message['image'] = $this->image; |
290 | 290 | } |
291 | 291 |
@@ -27,7 +27,7 @@ |
||
27 | 27 | */ |
28 | 28 | public function send($notifiable, Notification $notification) |
29 | 29 | { |
30 | - if (! $to = $notifiable->routeNotificationFor('Pushmix')) { |
|
30 | + if (!$to = $notifiable->routeNotificationFor('Pushmix')) { |
|
31 | 31 | return; |
32 | 32 | } |
33 | 33 |
@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | */ |
21 | 21 | public function register() |
22 | 22 | { |
23 | - $this->app->singleton('pushmix', function () { |
|
23 | + $this->app->singleton('pushmix', function() { |
|
24 | 24 | return new PushmixClient(); |
25 | 25 | }); |
26 | 26 | } |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | |
48 | 48 | $this->app->when(PushmixChannel::class) |
49 | 49 | ->needs(PushmixClient::class) |
50 | - ->give(function () { |
|
50 | + ->give(function() { |
|
51 | 51 | if (is_null(config('pushmix.subscription_id', null))) { |
52 | 52 | throw InvalidConfiguration::configurationNotSet(); |
53 | 53 | } |