Completed
Push — master ( cde0cf...bb1ccc )
by Asif
02:18
created
src/ShortcodesServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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.
Please login to merge, or discard this patch.
tests/ShortcodeRegistrationTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.