Passed
Push — release/2.4.1 ( 26e773 )
by Sebastian
02:32 queued 14s
created
src/Styles/QuotesTrait.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -53,12 +53,12 @@
 block discarded – undo
53 53
                 if (preg_match("/^(.+)([\.,;]+)$/", $text, $match)) {
54 54
                     $punctuation = substr($match[2], -1);
55 55
                     if ($this->suffix !== $punctuation) {
56
-                        $text = $match[1] . substr($match[2], 0, strlen($match[2]) - 1);
57
-                        return $openQuote . $text . $closeQuote . $punctuation;
56
+                        $text = $match[1].substr($match[2], 0, strlen($match[2]) - 1);
57
+                        return $openQuote.$text.$closeQuote.$punctuation;
58 58
                     }
59 59
                 }
60 60
             }
61
-            return $openQuote . $text . $closeQuote;
61
+            return $openQuote.$text.$closeQuote;
62 62
         }
63 63
         return $text;
64 64
     }
Please login to merge, or discard this patch.