@@ -145,7 +145,7 @@ |
||
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); |
@@ -178,7 +178,7 @@ discard block |
||
178 | 178 | */ |
179 | 179 | public function append(string $string): self |
180 | 180 | { |
181 | - return static::create($this->str . $string, $this->encoding); |
|
181 | + return static::create($this->str.$string, $this->encoding); |
|
182 | 182 | } |
183 | 183 | |
184 | 184 | /** |
@@ -1003,7 +1003,7 @@ discard block |
||
1003 | 1003 | $quotedPattern = \preg_quote($pattern, '/'); |
1004 | 1004 | $replaceWildCards = \str_replace('\*', '.*', $quotedPattern); |
1005 | 1005 | |
1006 | - return $this->matchesPattern('^' . $replaceWildCards . '\z'); |
|
1006 | + return $this->matchesPattern('^'.$replaceWildCards.'\z'); |
|
1007 | 1007 | } |
1008 | 1008 | |
1009 | 1009 | /** |
@@ -1512,7 +1512,7 @@ discard block |
||
1512 | 1512 | */ |
1513 | 1513 | public function prepend(string $string): self |
1514 | 1514 | { |
1515 | - return static::create($string . $this->str, $this->encoding); |
|
1515 | + return static::create($string.$this->str, $this->encoding); |
|
1516 | 1516 | } |
1517 | 1517 | |
1518 | 1518 | /** |
@@ -1552,7 +1552,7 @@ discard block |
||
1552 | 1552 | public function removeHtml(string $allowableTags = null): self |
1553 | 1553 | { |
1554 | 1554 | return static::create( |
1555 | - $this->utf8::remove_html($this->str, $allowableTags . ''), |
|
1555 | + $this->utf8::remove_html($this->str, $allowableTags.''), |
|
1556 | 1556 | $this->encoding |
1557 | 1557 | ); |
1558 | 1558 | } |
@@ -1878,7 +1878,7 @@ discard block |
||
1878 | 1878 | $stringy->str = \str_replace('@', $replacement, $stringy->str); |
1879 | 1879 | |
1880 | 1880 | $stringy->str = (string) \preg_replace( |
1881 | - '/[^a-zA-Z\\d\\s\\-_' . \preg_quote($replacement, '/') . ']/u', |
|
1881 | + '/[^a-zA-Z\\d\\s\\-_'.\preg_quote($replacement, '/').']/u', |
|
1882 | 1882 | '', |
1883 | 1883 | $stringy->str |
1884 | 1884 | ); |
@@ -2120,7 +2120,7 @@ discard block |
||
2120 | 2120 | public function surround(string $substring): self |
2121 | 2121 | { |
2122 | 2122 | return static::create( |
2123 | - $substring . $this->str . $substring, |
|
2123 | + $substring.$this->str.$substring, |
|
2124 | 2124 | $this->encoding |
2125 | 2125 | ); |
2126 | 2126 | } |