@@ -47,7 +47,7 @@ discard block  | 
                                                    ||
| 47 | 47 | */  | 
                                                        
| 48 | 48 | public function registerShortcodeCompiler()  | 
                                                        
| 49 | 49 |      { | 
                                                        
| 50 | -        $this->app->singleton('shortcode.compiler', function ($app) { | 
                                                        |
| 50 | +        $this->app->singleton('shortcode.compiler', function($app) { | 
                                                        |
| 51 | 51 | return new ShortcodeCompiler();  | 
                                                        
| 52 | 52 | });  | 
                                                        
| 53 | 53 | }  | 
                                                        
@@ -57,7 +57,7 @@ discard block  | 
                                                    ||
| 57 | 57 | */  | 
                                                        
| 58 | 58 | public function registerShortcode()  | 
                                                        
| 59 | 59 |      { | 
                                                        
| 60 | -        $this->app->singleton('shortcode', function ($app) { | 
                                                        |
| 60 | +        $this->app->singleton('shortcode', function($app) { | 
                                                        |
| 61 | 61 | return new Shortcode($app['shortcode.compiler']);  | 
                                                        
| 62 | 62 | });  | 
                                                        
| 63 | 63 | }  | 
                                                        
@@ -67,7 +67,7 @@ discard block  | 
                                                    ||
| 67 | 67 | */  | 
                                                        
| 68 | 68 | public function registerView()  | 
                                                        
| 69 | 69 |      { | 
                                                        
| 70 | -        $this->app->singleton('view', function ($app) { | 
                                                        |
| 70 | +        $this->app->singleton('view', function($app) { | 
                                                        |
| 71 | 71 | // Next we need to grab the engine resolver instance that will be used by the  | 
                                                        
| 72 | 72 | // environment. The resolver will be used by an environment to get each of  | 
                                                        
| 73 | 73 | // the various engine implementations such as plain PHP or Blade engine.  | 
                                                        
@@ -23,7 +23,7 @@  | 
                                                    ||
| 23 | 23 | |
| 24 | 24 | public function testRegistrationAndCompileShortcode()  | 
                                                        
| 25 | 25 |      { | 
                                                        
| 26 | -        $this->shortcode->register('b', function ($shortcode, $content) { | 
                                                        |
| 26 | +        $this->shortcode->register('b', function($shortcode, $content) { | 
                                                        |
| 27 | 27 |              return sprintf('<strong class="%s">%s</strong>', $shortcode->class, $content); | 
                                                        
| 28 | 28 | });  | 
                                                        
| 29 | 29 | |