| @@ -48,7 +48,7 @@ discard block | ||
| 48 | 48 | */ | 
| 49 | 49 | public function parse($content) | 
| 50 | 50 |      { | 
| 51 | -        if (empty($this->shortcodeTags) || ! is_array($this->shortcodeTags)) { | |
| 51 | +        if (empty($this->shortcodeTags) || !is_array($this->shortcodeTags)) { | |
| 52 | 52 | return $content; | 
| 53 | 53 | } | 
| 54 | 54 | |
| @@ -118,11 +118,11 @@ discard block | ||
| 118 | 118 | |
| 119 | 119 |          if (preg_match_all($pattern, $text, $match, PREG_SET_ORDER)) { | 
| 120 | 120 |              foreach ($match as $m) { | 
| 121 | -                if (! empty($m[1])) { | |
| 121 | +                if (!empty($m[1])) { | |
| 122 | 122 | $atts[strtolower($m[1])] = stripcslashes($m[2]); | 
| 123 | -                } elseif (! empty($m[3])) { | |
| 123 | +                } elseif (!empty($m[3])) { | |
| 124 | 124 | $atts[strtolower($m[3])] = stripcslashes($m[4]); | 
| 125 | -                } elseif (! empty($m[5])) { | |
| 125 | +                } elseif (!empty($m[5])) { | |
| 126 | 126 | $atts[strtolower($m[5])] = stripcslashes($m[6]); | 
| 127 | 127 |                  } elseif (isset($m[7]) && strlen($m[7])) { | 
| 128 | 128 | $atts[] = stripcslashes($m[7]); | 
| @@ -145,7 +145,7 @@ discard block | ||
| 145 | 145 | */ | 
| 146 | 146 | public function stripShortcodes($content) | 
| 147 | 147 |      { | 
| 148 | -        if (empty($this->shortcodeTags) || ! is_array($this->shortcodeTags)) { | |
| 148 | +        if (empty($this->shortcodeTags) || !is_array($this->shortcodeTags)) { | |
| 149 | 149 | return $content; | 
| 150 | 150 | } | 
| 151 | 151 | |