|
@@ -1496,7 +1496,7 @@ discard block |
|
|
block discarded – undo |
|
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 |
|
|
block discarded – undo |
|
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
|
{ |
Please login to merge, or discard this patch.