@@ -36,14 +36,14 @@ discard block |
||
36 | 36 | * |
37 | 37 | * @return void |
38 | 38 | */ |
39 | - Command::macro('notify', function (string $text, string $body, $icon = null) { |
|
39 | + Command::macro('notify', function(string $text, string $body, $icon = null) { |
|
40 | 40 | $notifier = $this->laravel[Contracts\Notifier::class]; |
41 | 41 | |
42 | 42 | $notification = $this->laravel[Contracts\Notification::class] |
43 | 43 | ->setTitle($text) |
44 | 44 | ->setBody($body); |
45 | 45 | |
46 | - if (! empty($icon)) { |
|
46 | + if (!empty($icon)) { |
|
47 | 47 | $notification->setIcon($icon); |
48 | 48 | } |
49 | 49 | |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | */ |
57 | 57 | public function register() |
58 | 58 | { |
59 | - $this->app->singleton('desktop.notifier', function ($app) { |
|
59 | + $this->app->singleton('desktop.notifier', function($app) { |
|
60 | 60 | $config = $app['config']['app.notifiers']; |
61 | 61 | |
62 | 62 | $notifier = NotifierFactory::create(is_array($config) ? $config : []); |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | |
67 | 67 | $this->app->alias('desktop.notifier', NotifierContract::class); |
68 | 68 | |
69 | - $this->app->bind('desktop.notification', function () { |
|
69 | + $this->app->bind('desktop.notification', function() { |
|
70 | 70 | return new Notification(); |
71 | 71 | }); |
72 | 72 |