@@ -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 | } |
@@ -181,6 +181,7 @@ discard block |
||
181 | 181 | * Returns a new string with $string appended. |
182 | 182 | * |
183 | 183 | * @param string ...$suffix <p>The string to append.</p> |
184 | + * @param string[] $suffix |
|
184 | 185 | * |
185 | 186 | * @return static |
186 | 187 | * <p>Object with appended $string.</p> |
@@ -1712,6 +1713,7 @@ discard block |
||
1712 | 1713 | * Returns a new string starting with $string. |
1713 | 1714 | * |
1714 | 1715 | * @param string ...$prefix <p>The string to append.</p> |
1716 | + * @param string[] $prefix |
|
1715 | 1717 | * |
1716 | 1718 | * @return static |
1717 | 1719 | * <p>Object with appended $string.</p> |