Skip to content

Commit

Permalink
Fix(StorageService) Type error
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Klehr <[email protected]>
  • Loading branch information
marcelklehr committed Sep 2, 2023
1 parent cc35075 commit 8203e76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Service/StorageService.php
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ public function getFilesInMount(int $storageId, int $rootId, array $models, int
$file = $files->fetch()
) {
yield [
'fileid' => $file['fileid'],
'fileid' => (int) $file['fileid'],
'image' => in_array($file['mimetype'], $imageTypes),
'video' => in_array($file['mimetype'], $videoTypes),
'audio' => in_array($file['mimetype'], $audioTypes),
Expand Down

0 comments on commit 8203e76

Please sign in to comment.