changeset 51:b80b258cc02c

More cleaning up php8 Warnings/deprecations
author Charlie Root
date Wed, 08 Oct 2025 08:50:06 -0400
parents e09cef17c56c
children cee7317dd26a
files plugins/zipdownload/zipdownload.php
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/zipdownload/zipdownload.php	Mon Oct 06 12:32:10 2025 -0400
+++ b/plugins/zipdownload/zipdownload.php	Wed Oct 08 08:50:06 2025 -0400
@@ -375,7 +375,7 @@
 
 class zipdownload_mbox_filter extends php_user_filter
 {
-    function filter($in, $out, &$consumed, $closing)
+  function filter($in, $out, &$consumed, $closing) : int
     {
         while ($bucket = stream_bucket_make_writeable($in)) {
             // messages are read line by line