Completed
Push — master ( d6bc3a...1d1d02 )
by Iman
02:54
created
src/WidgetsServiceProvider.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
      */
15 15
     public function boot()
16 16
     {
17
-        \Blade::directive('include_widget', function ($expression) {
17
+        \Blade::directive('include_widget', function($expression) {
18 18
             return "<?php echo $expression; ?>";
19 19
         });
20 20
 
@@ -28,31 +28,31 @@  discard block
 block discarded – undo
28 28
      */
29 29
     public function register()
30 30
     {
31
-        $this->app->singleton('command.imanghafoori.widget', function ($app) {
31
+        $this->app->singleton('command.imanghafoori.widget', function($app) {
32 32
             return $app['Imanghafoori\Widgets\WidgetGenerator'];
33 33
         });
34 34
 
35
-        $this->app->singleton('imanghafoori.widget.normalizer', function () {
35
+        $this->app->singleton('imanghafoori.widget.normalizer', function() {
36 36
             return new Utils\Normalizer();
37 37
         });
38 38
 
39
-        $this->app->singleton('imanghafoori.widget.minifier', function () {
39
+        $this->app->singleton('imanghafoori.widget.minifier', function() {
40 40
             return new Utils\HtmlMinifier();
41 41
         });
42 42
 
43
-        $this->app->singleton('imanghafoori.widget.debugInfo', function () {
43
+        $this->app->singleton('imanghafoori.widget.debugInfo', function() {
44 44
             return new Utils\DebugInfo();
45 45
         });
46 46
 
47
-        $this->app->singleton('imanghafoori.widget.policies', function () {
47
+        $this->app->singleton('imanghafoori.widget.policies', function() {
48 48
             return new Utils\Policies();
49 49
         });
50 50
 
51
-        $this->app->singleton('imanghafoori.widget.cache', function () {
51
+        $this->app->singleton('imanghafoori.widget.cache', function() {
52 52
             return new Utils\Cache();
53 53
         });
54 54
 
55
-        $this->app->singleton('imanghafoori.widget.renderer', function () {
55
+        $this->app->singleton('imanghafoori.widget.renderer', function() {
56 56
             return new Utils\WidgetRenderer();
57 57
         });
58 58
 
Please login to merge, or discard this patch.