Completed
Pull Request — stable (#11)
by Nuno
10:18 queued 08:43
created
src/LaravelDesktopNotifierServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  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]
@@ -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.