@@ -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); |
@@ -199,7 +199,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 | } |