Completed
Push — master ( 773161...cd78ad )
by Asif
02:19
created
src/Compilers/Shortcode.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,11 +42,11 @@
 block discarded – undo
42 42
     {
43 43
         $value = $this->{$attribute};
44 44
 
45
-        if(!is_null($value))
45
+        if (!is_null($value))
46 46
         {
47 47
             return $attribute . '="' . $value . '"';
48 48
         }
49
-        elseif(!is_null($fallback))
49
+        elseif (!is_null($fallback))
50 50
         {
51 51
             return $attribute . '="' . $fallback . '"';
52 52
         }
Please login to merge, or discard this patch.
src/ShortcodesServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
         $state = $this->app['config']->get('laravel-shortcodes::enabled', false);
26 26
 
27 27
         // enable when needed
28
-        if($state)
28
+        if ($state)
29 29
             $this->app['shortcode.compiler']->enable();
30 30
     }
31 31
 
Please login to merge, or discard this patch.
src/Compilers/ShortcodeCompiler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -352,7 +352,7 @@
 block discarded – undo
352 352
             . '\\[\\/\\2\\]'            // Closing shortcode tag
353 353
             . ')?'
354 354
             . ')'
355
-            . '(\\]?)';                 // 6: Optional second closing brocket for escaping shortcodes: [[tag]]
355
+            . '(\\]?)'; // 6: Optional second closing brocket for escaping shortcodes: [[tag]]
356 356
     }
357 357
 
358 358
     /**
Please login to merge, or discard this patch.
src/View/View.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
 
73 73
         $contents = $this->getContents();
74 74
         
75
-        if($this->shortcode->isStrip())
75
+        if ($this->shortcode->isStrip())
76 76
         {
77 77
             // strip content without shortcodes
78 78
             $contents = $this->shortcode->strip($contents);
Please login to merge, or discard this patch.