@@ -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 |
@@ -610,7 +610,7 @@ |
||
610 | 610 | * If cal_days_in_month() is not defined return the number of days |
611 | 611 | * in a current month in CAL_GREGORIAN calendar. |
612 | 612 | * If $calendar is null or empty or not is integer, use CAL_GREGORIAN. |
613 | - * @param $calendar |
|
613 | + * @param integer $calendar |
|
614 | 614 | * @return int |
615 | 615 | */ |
616 | 616 | function cal_days_in_current_month($calendar = CAL_GREGORIAN) : int |