Completed
Push — master ( 9e8da7...ca986a )
by Mark
01:26
created
src/Shortcodes.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
      */
19 19
     public function add($classes)
20 20
     {
21
-        if (! is_array($classes)) {
21
+        if (!is_array($classes)) {
22 22
             $classes = [$classes];
23 23
         }
24 24
 
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
      */
54 54
     public function parse($content)
55 55
     {
56
-        if (empty($this->shortcodeTags) || ! is_array($this->shortcodeTags)) {
56
+        if (empty($this->shortcodeTags) || !is_array($this->shortcodeTags)) {
57 57
             return $content;
58 58
         }
59 59
 
@@ -123,11 +123,11 @@  discard block
 block discarded – undo
123 123
 
124 124
         if (preg_match_all($pattern, $text, $match, PREG_SET_ORDER)) {
125 125
             foreach ($match as $m) {
126
-                if (! empty($m[1])) {
126
+                if (!empty($m[1])) {
127 127
                     $atts[strtolower($m[1])] = stripcslashes($m[2]);
128
-                } elseif (! empty($m[3])) {
128
+                } elseif (!empty($m[3])) {
129 129
                     $atts[strtolower($m[3])] = stripcslashes($m[4]);
130
-                } elseif (! empty($m[5])) {
130
+                } elseif (!empty($m[5])) {
131 131
                     $atts[strtolower($m[5])] = stripcslashes($m[6]);
132 132
                 } elseif (isset($m[7]) && strlen($m[7])) {
133 133
                     $atts[] = stripcslashes($m[7]);
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
      */
151 151
     public function stripShortcodes($content)
152 152
     {
153
-        if (empty($this->shortcodeTags) || ! is_array($this->shortcodeTags)) {
153
+        if (empty($this->shortcodeTags) || !is_array($this->shortcodeTags)) {
154 154
             return $content;
155 155
         }
156 156
 
Please login to merge, or discard this patch.