@@ -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); |
@@ -197,7 +197,7 @@ discard block |
||
| 197 | 197 | $suffix = \implode('', $suffix); |
| 198 | 198 | } |
| 199 | 199 | |
| 200 | - return static::create($this->str . $suffix, $this->encoding); |
|
| 200 | + return static::create($this->str.$suffix, $this->encoding); |
|
| 201 | 201 | } |
| 202 | 202 | |
| 203 | 203 | /** |
@@ -765,7 +765,7 @@ discard block |
||
| 765 | 765 | $name = (string) $name; |
| 766 | 766 | |
| 767 | 767 | if (\strpos($name, '%:') !== 0) { |
| 768 | - $nameTmp = '%:' . $name; |
|
| 768 | + $nameTmp = '%:'.$name; |
|
| 769 | 769 | } else { |
| 770 | 770 | $nameTmp = $name; |
| 771 | 771 | } |
@@ -1120,7 +1120,7 @@ discard block |
||
| 1120 | 1120 | $quotedPattern = \preg_quote($pattern, '/'); |
| 1121 | 1121 | $replaceWildCards = \str_replace('\*', '.*', $quotedPattern); |
| 1122 | 1122 | |
| 1123 | - return $this->matchesPattern('^' . $replaceWildCards . '\z'); |
|
| 1123 | + return $this->matchesPattern('^'.$replaceWildCards.'\z'); |
|
| 1124 | 1124 | } |
| 1125 | 1125 | |
| 1126 | 1126 | /** |
@@ -1684,7 +1684,7 @@ discard block |
||
| 1684 | 1684 | $prefix = \implode('', ...$prefix); |
| 1685 | 1685 | } |
| 1686 | 1686 | |
| 1687 | - return static::create($prefix . $this->str, $this->encoding); |
|
| 1687 | + return static::create($prefix.$this->str, $this->encoding); |
|
| 1688 | 1688 | } |
| 1689 | 1689 | |
| 1690 | 1690 | /** |
@@ -2264,7 +2264,7 @@ discard block |
||
| 2264 | 2264 | public function surround(string $substring): self |
| 2265 | 2265 | { |
| 2266 | 2266 | return static::create( |
| 2267 | - $substring . $this->str . $substring, |
|
| 2267 | + $substring.$this->str.$substring, |
|
| 2268 | 2268 | $this->encoding |
| 2269 | 2269 | ); |
| 2270 | 2270 | } |