@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | * Get the first element of an array. Useful for method chaining. |
| 65 | 65 | * |
| 66 | 66 | * @param array $array |
| 67 | - * @return mixed |
|
| 67 | + * @return string |
|
| 68 | 68 | */ |
| 69 | 69 | function head($array) |
| 70 | 70 | { |
@@ -335,7 +335,7 @@ discard block |
||
| 335 | 335 | |
| 336 | 336 | /** |
| 337 | 337 | * Check if array is not null and not empty. |
| 338 | - * @param $array |
|
| 338 | + * @param string[] $array |
|
| 339 | 339 | * @return bool |
| 340 | 340 | */ |
| 341 | 341 | function isNotNullOrEmptyArray($array):bool |
@@ -589,7 +589,7 @@ |
||
| 589 | 589 | * If cal_days_in_month() is not defined return the number of days |
| 590 | 590 | * in a month for a given year in CAL_GREGORIAN calendar. |
| 591 | 591 | * If an error occourred return 0. |
| 592 | - * @param $calendar |
|
| 592 | + * @param integer $calendar |
|
| 593 | 593 | * @param int $month |
| 594 | 594 | * @param int $year |
| 595 | 595 | * @return int |