@@ -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 | /** |
@@ -2154,7 +2154,7 @@ discard block |
||
2154 | 2154 | public function surround(string $substring): self |
2155 | 2155 | { |
2156 | 2156 | return static::create( |
2157 | - $substring . $this->str . $substring, |
|
2157 | + $substring.$this->str.$substring, |
|
2158 | 2158 | $this->encoding |
2159 | 2159 | ); |
2160 | 2160 | } |