@@ -18,9 +18,9 @@ |
||
18 | 18 | /** |
19 | 19 | * Replaces all occurrences of $search in $str by $replacement. |
20 | 20 | * |
21 | - * @param string|array $search The needle to search for. |
|
21 | + * @param string $search The needle to search for. |
|
22 | 22 | * |
23 | - * @param string|array $replacement The string to replace with. |
|
23 | + * @param string $replacement The string to replace with. |
|
24 | 24 | * |
25 | 25 | * @param bool $caseSensitive To enforce case-sensitivity or not. |
26 | 26 | * |
@@ -144,7 +144,7 @@ |
||
144 | 144 | /** |
145 | 145 | * Factory method to create a new Gears\String\Str object. |
146 | 146 | * |
147 | - * @param mixed $string Must be a scalar string or an object |
|
147 | + * @param string $string Must be a scalar string or an object |
|
148 | 148 | * that implements the __toString() method |
149 | 149 | * or a value that is castable to a scalar |
150 | 150 | * string. |