Skip to content

Commit

Permalink
[BUGFIX] Fix TypeError exception in ModifyFileDumpEventListener
Browse files Browse the repository at this point in the history
Resolves: #221
  • Loading branch information
Rudy Gnodde committed Oct 2, 2023
1 parent 24826cc commit 450b755
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/EventListener/ModifyFileDumpEventListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,6 @@ protected function getHttpRange(int $fileSize): array
if ($start < 0 || $start > $end) {
return [];
}
return [$start, $end];
return [(int)$start, (int)$end];
}
}

0 comments on commit 450b755

Please sign in to comment.