,ignored_issues?:list,php_version?:string}> */ public function providerValidCodeParse(): iterable { yield 'castFalseOrIntToInt' => [ 'code' => ' */ $intOrFalse = 10; $int = (int) $intOrFalse; ', 'assertions' => [ '$int===' => '0|int<10, 20>', ], ]; yield 'castTrueOrIntToInt' => [ 'code' => ' */ $intOrTrue = 10; $int = (int) $intOrTrue; ', 'assertions' => [ '$int===' => '1|int<10, 20>', ], ]; yield 'castBoolOrIntToInt' => [ 'code' => ' */ $intOrBool = 10; $int = (int) $intOrBool; ', 'assertions' => [ '$int===' => '0|1|int<10, 20>', ], ]; } }