Applied rector suggestions

This commit is contained in:
Jan Böhmer 2024-06-22 00:31:43 +02:00
parent 4106bcef5f
commit 20f32c7f12
170 changed files with 808 additions and 761 deletions

View file

@ -172,16 +172,14 @@ EOT;
$this->assertSame($longName, $errors[0]['entity']->getName());
}
public function formatDataProvider(): array
public function formatDataProvider(): \Iterator
{
return [
['csv', 'csv'],
['csv', 'CSV'],
['xml', 'Xml'],
['json', 'json'],
['yaml', 'yml'],
['yaml', 'YAML'],
];
yield ['csv', 'csv'];
yield ['csv', 'CSV'];
yield ['xml', 'Xml'];
yield ['json', 'json'];
yield ['yaml', 'yml'];
yield ['yaml', 'YAML'];
}
/**