You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: trim redundant test coverage, match stub header convention #6
CleanTool asserted Tool::canSee(fn(Request)) is accepted, but that holds
by closure-param contravariance regardless of whether AuthorizedToSee
is narrowed, so it added no regression signal; BrokenTool in
still_errors.php already guards the real case. Also collapsed 6
near-identical visibility-setter calls in clean.php (all sharing the
same @template bound) down to 2, plus the existing bool-branch case.
Dropped declare(strict_types=1) from the 4 new stub files to match the
existing stub convention (bare <?php) — meaningless in a stub anyway,
since it's never executed.
Claude-Session: https://claude.ai/code/session_01FzaFiRNezfiiLYieQifR6R
0 commit comments