@@ -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 |
@@ -1496,7 +1496,7 @@ discard block |
||
1496 | 1496 | * AFAIK that's only available on *NIX systems, |
1497 | 1497 | * |
1498 | 1498 | * @param string $filePath the full path file name |
1499 | - * @return mixed|string the mime type string or FALSE if it fails. |
|
1499 | + * @return false|string the mime type string or FALSE if it fails. |
|
1500 | 1500 | */ |
1501 | 1501 | function getFileMimeTypeByOSFileCommand(string $filePath) |
1502 | 1502 | { |
@@ -1524,7 +1524,7 @@ discard block |
||
1524 | 1524 | * get image MimeType string of image using exif_imagetype |
1525 | 1525 | * |
1526 | 1526 | * @param string $filePath the full path file name |
1527 | - * @return mixed|string the mime type string or FALSE if it fails. |
|
1527 | + * @return string|false the mime type string or FALSE if it fails. |
|
1528 | 1528 | */ |
1529 | 1529 | function getImageMimeTypeByExif_imagetype(string $filePath) |
1530 | 1530 | { |