From 450b75593167fff291a46ff018eb3c908ed02162 Mon Sep 17 00:00:00 2001 From: Rudy Gnodde Date: Mon, 2 Oct 2023 09:11:07 +0200 Subject: [PATCH] [BUGFIX] Fix TypeError exception in ModifyFileDumpEventListener Resolves: #221 --- Classes/EventListener/ModifyFileDumpEventListener.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/EventListener/ModifyFileDumpEventListener.php b/Classes/EventListener/ModifyFileDumpEventListener.php index 134b3d8..6f5998c 100644 --- a/Classes/EventListener/ModifyFileDumpEventListener.php +++ b/Classes/EventListener/ModifyFileDumpEventListener.php @@ -421,6 +421,6 @@ protected function getHttpRange(int $fileSize): array if ($start < 0 || $start > $end) { return []; } - return [$start, $end]; + return [(int)$start, (int)$end]; } }