@@ -42,11 +42,11 @@ |
||
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 | } |
@@ -25,7 +25,7 @@ |
||
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 |
@@ -352,7 +352,7 @@ |
||
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 | /** |
@@ -72,7 +72,7 @@ |
||
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); |