@@ -197,6 +197,7 @@ discard block |
||
197 | 197 | * Returns a new string with $suffix 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 | * |
@@ -2252,6 +2253,7 @@ discard block |
||
2252 | 2253 | * Returns a new string starting with $prefix. |
2253 | 2254 | * |
2254 | 2255 | * @param string ...$prefix <p>The string to append.</p> |
2256 | + * @param string[] $prefix |
|
2255 | 2257 | * |
2256 | 2258 | * @psalm-mutation-free |
2257 | 2259 | * |
@@ -2457,7 +2459,7 @@ discard block |
||
2457 | 2459 | * Replaces all occurrences of $search in $str by $replacement. |
2458 | 2460 | * |
2459 | 2461 | * @param string[] $search <p>The elements to search for.</p> |
2460 | - * @param string|string[] $replacement <p>The string to replace with.</p> |
|
2462 | + * @param string $replacement <p>The string to replace with.</p> |
|
2461 | 2463 | * @param bool $caseSensitive [optional] <p>Whether or not to enforce case-sensitivity. Default: true</p> |
2462 | 2464 | * |
2463 | 2465 | * @psalm-mutation-free |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | } |
60 | 60 | |
61 | 61 | /** |
62 | - * @param string ...$string |
|
62 | + * @param string string[] |
|
63 | 63 | * |
64 | 64 | * @return $this |
65 | 65 | * |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | } |
76 | 76 | |
77 | 77 | /** |
78 | - * @param Stringy ...$stringy |
|
78 | + * @param Stringy Stringy[] |
|
79 | 79 | * |
80 | 80 | * @return $this |
81 | 81 | */ |