Completed
Push — master ( ec7a09...4281c0 )
by Mark
01:52
created
src/Shortcodes.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
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
 
@@ -126,11 +126,11 @@  discard block
 block discarded – undo
126 126
 
127 127
         if (preg_match_all($pattern, $text, $match, PREG_SET_ORDER)) {
128 128
             foreach ($match as $m) {
129
-                if (! empty($m[1])) {
129
+                if (!empty($m[1])) {
130 130
                     $atts[strtolower($m[1])] = stripcslashes($m[2]);
131
-                } elseif (! empty($m[3])) {
131
+                } elseif (!empty($m[3])) {
132 132
                     $atts[strtolower($m[3])] = stripcslashes($m[4]);
133
-                } elseif (! empty($m[5])) {
133
+                } elseif (!empty($m[5])) {
134 134
                     $atts[strtolower($m[5])] = stripcslashes($m[6]);
135 135
                 } elseif (isset($m[7]) and strlen($m[7])) {
136 136
                     $atts[] = stripcslashes($m[7]);
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
      */
154 154
     public function stripShortcodes($content)
155 155
     {
156
-        if (empty($this->shortcodeTags) || ! is_array($this->shortcodeTags)) {
156
+        if (empty($this->shortcodeTags) || !is_array($this->shortcodeTags)) {
157 157
             return $content;
158 158
         }
159 159
 
Please login to merge, or discard this patch.