@@ -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 | * |
@@ -211,10 +211,10 @@ |
||
| 211 | 211 | */ |
| 212 | 212 | public function countSubstr($substring, $caseSensitive = true) |
| 213 | 213 | { |
| 214 | - if (!isset($this->scalarString[0])) |
|
| 215 | - { |
|
| 216 | - return 0; |
|
| 217 | - } |
|
| 214 | + if (!isset($this->scalarString[0])) |
|
| 215 | + { |
|
| 216 | + return 0; |
|
| 217 | + } |
|
| 218 | 218 | |
| 219 | 219 | if ($caseSensitive) |
| 220 | 220 | { |