Completed
Push — master ( ab35da...73ea7f )
by Asif
02:29
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.