Issue Task Closed

#107109Make HTTP/Stream.php specify -1 offset to improve return type handling

Garvin Hicking 07/18/25, 07:22 updated 08/12/25, 14:36

Description

PHPStan detected an unneeded comparison that would never get triggered:

https://github.com/phpstan/phpstan/issues/13265#issuecomment-3087159993

Reviews 5

History 35

  1. Garvin Hicking commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2025-07-18T10:25:09+00:00" > 07/18/25, 10:25 </span>

    Applied in changeset commit:20ab2319d5a01434fc4393b90ca705529fe530e8.