@@ -39,14 +39,14 @@ discard block |
||
| 39 | 39 | */ |
| 40 | 40 | Command::macro( |
| 41 | 41 | 'notify', |
| 42 | - function (string $text, string $body, $icon = null) { |
|
| 42 | + function(string $text, string $body, $icon = null) { |
|
| 43 | 43 | $notifier = $this->app[Contracts\Notifier::class]; |
| 44 | 44 | |
| 45 | 45 | $notification = $this->app[Contracts\Notification::class] |
| 46 | 46 | ->setTitle($text) |
| 47 | 47 | ->setBody($body); |
| 48 | 48 | |
| 49 | - if (! empty($icon)) { |
|
| 49 | + if (!empty($icon)) { |
|
| 50 | 50 | $notification->setIcon($icon); |
| 51 | 51 | } |
| 52 | 52 | |
@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | */ |
| 61 | 61 | public function register() |
| 62 | 62 | { |
| 63 | - $this->app->singleton('desktop.notifier', function ($app) { |
|
| 63 | + $this->app->singleton('desktop.notifier', function($app) { |
|
| 64 | 64 | $config = $app['config']['app.notifiers']; |
| 65 | 65 | |
| 66 | 66 | $notifier = NotifierFactory::create(is_array($config) ? $config : []); |
@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | |
| 71 | 71 | $this->app->alias('desktop.notifier', NotifierContract::class); |
| 72 | 72 | |
| 73 | - $this->app->bind('desktop.notification', function () { |
|
| 73 | + $this->app->bind('desktop.notification', function() { |
|
| 74 | 74 | return new Notification(); |
| 75 | 75 | }); |
| 76 | 76 | |