Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix(OC_Image): Set correct return type for exif_imagetype stub
Signed-off-by: provokateurin <[email protected]>
  • Loading branch information
provokateurin committed Jun 6, 2024
commit de7f1054eb9f88a93cd83321b524ac94eb1ecac5
2 changes: 1 addition & 1 deletion lib/private/legacy/OC_Image.php
Original file line number Diff line number Diff line change
Expand Up @@ -1167,7 +1167,7 @@ public function __destruct() {
*
* @link https://www.php.net/manual/en/function.exif-imagetype.php#80383
* @param string $fileName
* @return string|boolean
* @return int|false
*/
function exif_imagetype(string $fileName) {
if (($info = getimagesize($fileName)) !== false) {
Expand Down