@@ -478,8 +478,8 @@ |
||
| 478 | 478 | * Set $array[$new] as $array[$old] and delete $array[$old]. |
| 479 | 479 | * |
| 480 | 480 | * @param array $array |
| 481 | - * @param $old |
|
| 482 | - * @param $new |
|
| 481 | + * @param string $old |
|
| 482 | + * @param string $new |
|
| 483 | 483 | * |
| 484 | 484 | * return null |
| 485 | 485 | */ |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | * Does the $haystack starts with $needle |
| 12 | 12 | * |
| 13 | 13 | * @param $haystack |
| 14 | - * @param $needle |
|
| 14 | + * @param string $needle |
|
| 15 | 15 | * @return bool |
| 16 | 16 | */ |
| 17 | 17 | public static function startsWith($haystack, $needle) |