| @@ -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); | 
| @@ -193,6 +193,7 @@ discard block | ||
| 193 | 193 | * Returns a new string with $string appended. | 
| 194 | 194 | * | 
| 195 | 195 | * @param string ...$suffix <p>The string to append.</p> | 
| 196 | + * @param string[] $suffix | |
| 196 | 197 | * | 
| 197 | 198 | * @return static | 
| 198 | 199 | * <p>Object with appended $string.</p> | 
| @@ -1129,6 +1130,7 @@ discard block | ||
| 1129 | 1130 | * Determine whether the string is equals to $str. | 
| 1130 | 1131 | * | 
| 1131 | 1132 | * @param string ...$str <p>The string to compare.</p> | 
| 1133 | + * @param string[] $str | |
| 1132 | 1134 | * | 
| 1133 | 1135 | * @return bool | 
| 1134 | 1136 | * <p>Whether or not $str is equals.</p> | 
| @@ -1570,6 +1572,7 @@ discard block | ||
| 1570 | 1572 | * Returns a new string starting with $string. | 
| 1571 | 1573 | * | 
| 1572 | 1574 | * @param string ...$prefix <p>The string to append.</p> | 
| 1575 | + * @param string[] $prefix | |
| 1573 | 1576 | * | 
| 1574 | 1577 | * @return static | 
| 1575 | 1578 | * <p>Object with appended $string.</p> | 
| @@ -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 | } |