Completed
Push — master ( b2e12d...aac0d0 )
by Lars
21s queued 14s
created
src/StaticStringy.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@
 block discarded – undo
145 145
         }
146 146
 
147 147
         if (!isset(static::$methodArgs[$name])) {
148
-            throw new \BadMethodCallException($name . ' is not a valid method');
148
+            throw new \BadMethodCallException($name.' is not a valid method');
149 149
         }
150 150
 
151 151
         $numArgs = \count($arguments);
Please login to merge, or discard this patch.
src/Stringy.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -199,7 +199,7 @@  discard block
 block discarded – undo
199 199
      */
200 200
     public function append(string $string): self
201 201
     {
202
-        return static::create($this->str . $string, $this->encoding);
202
+        return static::create($this->str.$string, $this->encoding);
203 203
     }
204 204
 
205 205
     /**
@@ -1024,7 +1024,7 @@  discard block
 block discarded – undo
1024 1024
         $quotedPattern = \preg_quote($pattern, '/');
1025 1025
         $replaceWildCards = \str_replace('\*', '.*', $quotedPattern);
1026 1026
 
1027
-        return $this->matchesPattern('^' . $replaceWildCards . '\z');
1027
+        return $this->matchesPattern('^'.$replaceWildCards.'\z');
1028 1028
     }
1029 1029
 
1030 1030
     /**
@@ -1533,7 +1533,7 @@  discard block
 block discarded – undo
1533 1533
      */
1534 1534
     public function prepend(string $string): self
1535 1535
     {
1536
-        return static::create($string . $this->str, $this->encoding);
1536
+        return static::create($string.$this->str, $this->encoding);
1537 1537
     }
1538 1538
 
1539 1539
     /**
@@ -1573,7 +1573,7 @@  discard block
 block discarded – undo
1573 1573
     public function removeHtml(string $allowableTags = null): self
1574 1574
     {
1575 1575
         return static::create(
1576
-            $this->utf8::remove_html($this->str, $allowableTags . ''),
1576
+            $this->utf8::remove_html($this->str, $allowableTags.''),
1577 1577
             $this->encoding
1578 1578
         );
1579 1579
     }
@@ -2132,7 +2132,7 @@  discard block
 block discarded – undo
2132 2132
     public function surround(string $substring): self
2133 2133
     {
2134 2134
         return static::create(
2135
-            $substring . $this->str . $substring,
2135
+            $substring.$this->str.$substring,
2136 2136
             $this->encoding
2137 2137
         );
2138 2138
     }
Please login to merge, or discard this patch.