@@ -1742,7 +1742,7 @@ |
||
1742 | 1742 | $stringy->str = \preg_replace($pattern, '', $stringy); |
1743 | 1743 | |
1744 | 1744 | return $stringy->toLowerCase()->delimit($replacement) |
1745 | - ->removeLeft($replacement)->removeRight($replacement); |
|
1745 | + ->removeLeft($replacement)->removeRight($replacement); |
|
1746 | 1746 | } |
1747 | 1747 | |
1748 | 1748 | /** |
@@ -164,7 +164,7 @@ discard block |
||
164 | 164 | */ |
165 | 165 | public function append(string $string): self |
166 | 166 | { |
167 | - return static::create($this->str . $string, $this->encoding); |
|
167 | + return static::create($this->str.$string, $this->encoding); |
|
168 | 168 | } |
169 | 169 | |
170 | 170 | /** |
@@ -951,7 +951,7 @@ discard block |
||
951 | 951 | $quotedPattern = \preg_quote($pattern, '/'); |
952 | 952 | $replaceWildCards = \str_replace('\*', '.*', $quotedPattern); |
953 | 953 | |
954 | - return $this->matchesPattern('^' . $replaceWildCards . '\z'); |
|
954 | + return $this->matchesPattern('^'.$replaceWildCards.'\z'); |
|
955 | 955 | } |
956 | 956 | |
957 | 957 | /** |
@@ -1413,7 +1413,7 @@ discard block |
||
1413 | 1413 | */ |
1414 | 1414 | public function prepend(string $string): self |
1415 | 1415 | { |
1416 | - return static::create($string . $this->str, $this->encoding); |
|
1416 | + return static::create($string.$this->str, $this->encoding); |
|
1417 | 1417 | } |
1418 | 1418 | |
1419 | 1419 | /** |
@@ -1450,7 +1450,7 @@ discard block |
||
1450 | 1450 | */ |
1451 | 1451 | public function removeHtml(string $allowableTags = null): self |
1452 | 1452 | { |
1453 | - $str = UTF8::remove_html($this->str, $allowableTags . ''); |
|
1453 | + $str = UTF8::remove_html($this->str, $allowableTags.''); |
|
1454 | 1454 | |
1455 | 1455 | return static::create($str, $this->encoding); |
1456 | 1456 | } |
@@ -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); |