,error_levels?:string[]}> */ public function providerValidCodeParse(): iterable { return [ 'modify' => [ 'modify(getString()); $b = $dateTimeImmutable->modify(getString()); ', 'assertions' => [ '$a' => 'DateTime|false', '$b' => 'DateTimeImmutable|false', ], ], 'modifyWithValidConstant' => [ 'modify(getString()); $b = $dateTimeImmutable->modify(getString()); ', 'assertions' => [ '$a' => 'DateTime', '$b' => 'DateTimeImmutable', ], ], 'modifyWithInvalidConstant' => [ 'modify(getString()); $b = $dateTimeImmutable->modify(getString()); ', 'assertions' => [ '$a' => 'false', '$b' => 'false', ], ], 'modifyWithBothConstant' => [ 'modify(getString()); $b = $dateTimeImmutable->modify(getString()); ', 'assertions' => [ '$a' => 'DateTime|false', '$b' => 'DateTimeImmutable|false', ], ], ]; } }