,error_levels?:string[]}> */ public function providerValidCodeParse(): iterable { return [ 'validcode' => [ ' [ ' */ class AChild extends A { /** @var string */ public $foo = "foo"; }' ], ]; } /** * @return iterable */ public function providerInvalidCodeParse(): iterable { return [ 'variantDocblockProperties' => [ ' 'NonInvariantDocblockPropertyType', ], 'variantProperties' => [ ' 'NonInvariantPropertyType', ], ]; } }