Completed
Push — stable ( 3ae113...064a1b )
by Nuno
01:59
created
src/LaravelDesktopNotifierServiceProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -36,14 +36,14 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.