| @@ -197,6 +197,7 @@ discard block | ||
| 197 | 197 | * Returns a new string with $string appended. | 
| 198 | 198 | * | 
| 199 | 199 | * @param string ...$suffix <p>The string to append.</p> | 
| 200 | + * @param string[] $suffix | |
| 200 | 201 | * | 
| 201 | 202 | * @psalm-mutation-free | 
| 202 | 203 | * | 
| @@ -1933,6 +1934,7 @@ discard block | ||
| 1933 | 1934 | * Returns a new string starting with $string. | 
| 1934 | 1935 | * | 
| 1935 | 1936 | * @param string ...$prefix <p>The string to append.</p> | 
| 1937 | + * @param string[] $prefix | |
| 1936 | 1938 | * | 
| 1937 | 1939 | * @psalm-mutation-free | 
| 1938 | 1940 | * | 
| @@ -215,7 +215,7 @@ discard block | ||
| 215 | 215 |              $suffix = \implode('', $suffix); | 
| 216 | 216 | } | 
| 217 | 217 | |
| 218 | - return static::create($this->str . $suffix, $this->encoding); | |
| 218 | + return static::create($this->str.$suffix, $this->encoding); | |
| 219 | 219 | } | 
| 220 | 220 | |
| 221 | 221 | /** | 
| @@ -553,7 +553,7 @@ discard block | ||
| 553 | 553 | } | 
| 554 | 554 | |
| 555 | 555 | \preg_match_all( | 
| 556 | -            "/(?:^|(?:.|\p{L}|\w){" . $length . "})(.|\p{L}|\w)/u", | |
| 556 | +            "/(?:^|(?:.|\p{L}|\w){".$length."})(.|\p{L}|\w)/u", | |
| 557 | 557 | $substring, | 
| 558 | 558 | $matches | 
| 559 | 559 | ); | 
| @@ -867,7 +867,7 @@ discard block | ||
| 867 | 867 | $name = (string) $name; | 
| 868 | 868 | |
| 869 | 869 |                      if (\strpos($name, '%:') !== 0) { | 
| 870 | - $nameTmp = '%:' . $name; | |
| 870 | + $nameTmp = '%:'.$name; | |
| 871 | 871 |                      } else { | 
| 872 | 872 | $nameTmp = $name; | 
| 873 | 873 | } | 
| @@ -1250,7 +1250,7 @@ discard block | ||
| 1250 | 1250 | $quotedPattern = \preg_quote($pattern, '/'); | 
| 1251 | 1251 |          $replaceWildCards = \str_replace('\*', '.*', $quotedPattern); | 
| 1252 | 1252 | |
| 1253 | -        return $this->matchesPattern('^' . $replaceWildCards . '\z'); | |
| 1253 | +        return $this->matchesPattern('^'.$replaceWildCards.'\z'); | |
| 1254 | 1254 | } | 
| 1255 | 1255 | |
| 1256 | 1256 | /** | 
| @@ -1951,7 +1951,7 @@ discard block | ||
| 1951 | 1951 |              $prefix = \implode('', $prefix); | 
| 1952 | 1952 | } | 
| 1953 | 1953 | |
| 1954 | - return static::create($prefix . $this->str, $this->encoding); | |
| 1954 | + return static::create($prefix.$this->str, $this->encoding); | |
| 1955 | 1955 | } | 
| 1956 | 1956 | |
| 1957 | 1957 | /** | 
| @@ -2612,7 +2612,7 @@ discard block | ||
| 2612 | 2612 | public function surround(string $substring): self | 
| 2613 | 2613 |      { | 
| 2614 | 2614 | return static::create( | 
| 2615 | - $substring . $this->str . $substring, | |
| 2615 | + $substring.$this->str.$substring, | |
| 2616 | 2616 | $this->encoding | 
| 2617 | 2617 | ); | 
| 2618 | 2618 | } |