@@ -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 | { |
@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | * Get the first element of an array. Useful for method chaining. |
33 | 33 | * |
34 | 34 | * @param array $array |
35 | - * @return mixed |
|
35 | + * @return string |
|
36 | 36 | */ |
37 | 37 | function head($array) |
38 | 38 | { |
@@ -417,7 +417,7 @@ discard block |
||
417 | 417 | |
418 | 418 | /** |
419 | 419 | * Check if array is not null and not empty. |
420 | - * @param $array |
|
420 | + * @param string[] $array |
|
421 | 421 | * @return bool |
422 | 422 | */ |
423 | 423 | function isNotNullOrEmptyArray($array): bool |