@@ -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); |
@@ -185,7 +185,7 @@ discard block |
||
185 | 185 | */ |
186 | 186 | public function append(string $string): self |
187 | 187 | { |
188 | - return static::create($this->str . $string, $this->encoding); |
|
188 | + return static::create($this->str.$string, $this->encoding); |
|
189 | 189 | } |
190 | 190 | |
191 | 191 | /** |
@@ -1010,7 +1010,7 @@ discard block |
||
1010 | 1010 | $quotedPattern = \preg_quote($pattern, '/'); |
1011 | 1011 | $replaceWildCards = \str_replace('\*', '.*', $quotedPattern); |
1012 | 1012 | |
1013 | - return $this->matchesPattern('^' . $replaceWildCards . '\z'); |
|
1013 | + return $this->matchesPattern('^'.$replaceWildCards.'\z'); |
|
1014 | 1014 | } |
1015 | 1015 | |
1016 | 1016 | /** |
@@ -1519,7 +1519,7 @@ discard block |
||
1519 | 1519 | */ |
1520 | 1520 | public function prepend(string $string): self |
1521 | 1521 | { |
1522 | - return static::create($string . $this->str, $this->encoding); |
|
1522 | + return static::create($string.$this->str, $this->encoding); |
|
1523 | 1523 | } |
1524 | 1524 | |
1525 | 1525 | /** |
@@ -1559,7 +1559,7 @@ discard block |
||
1559 | 1559 | public function removeHtml(string $allowableTags = null): self |
1560 | 1560 | { |
1561 | 1561 | return static::create( |
1562 | - $this->utf8::remove_html($this->str, $allowableTags . ''), |
|
1562 | + $this->utf8::remove_html($this->str, $allowableTags.''), |
|
1563 | 1563 | $this->encoding |
1564 | 1564 | ); |
1565 | 1565 | } |
@@ -1886,7 +1886,7 @@ discard block |
||
1886 | 1886 | $stringy->str = \str_replace('@', $separator, $stringy->str); |
1887 | 1887 | |
1888 | 1888 | $stringy->str = (string) \preg_replace( |
1889 | - '/[^a-zA-Z\\d\\s\\-_' . \preg_quote($separator, '/') . ']/u', |
|
1889 | + '/[^a-zA-Z\\d\\s\\-_'.\preg_quote($separator, '/').']/u', |
|
1890 | 1890 | '', |
1891 | 1891 | $stringy->str |
1892 | 1892 | ); |
@@ -2132,7 +2132,7 @@ discard block |
||
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 | } |