Classes

The lexical half of the PhpDoc conformance check: turning a phpstan/psalm annotation into the plain PHP type it refines.

The return-type equivalence rules, extracted from ClassMethodsReturnTypesCheck so the function variant cannot drift from it again.