Argument #1 ($number) must be of type int, resource given

This commit is contained in:
the-djmaze 2026-10-28 00:02:58 +01:00
parent 78aa114d21
commit f14544992d

View file

@ -39,7 +39,7 @@ class ProcPipes
}
}
public function close(int $number): void
public function close(/*resource|int*/ $number): void
{
if (\array_key_exists($number, $this->pipes)) {
\fflush($this->pipes[$number]);