Some more deprecation fixups

This commit is contained in:
Philipp Holzer 2023-07-05 22:20:52 +02:00
commit f68dd99518
Signed by: nupplaPhil
GPG key ID: 24A7501396EB5432
5 changed files with 20 additions and 5 deletions

View file

@ -37,7 +37,7 @@ class Intercept extends php_user_filter
public static $cache = '';
/** @noinspection PhpMissingParentCallCommonInspection */
public function filter($in, $out, &$consumed, $closing)
public function filter($in, $out, &$consumed, $closing): int
{
while ($bucket = stream_bucket_make_writeable($in)) {
self::$cache .= $bucket->data;