mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
Rector rules: apply rules for 5.0 types
This commit is contained in:
@@ -19,7 +19,7 @@ use Symfony\Component\Form\Exception\UnexpectedTypeException;
|
||||
|
||||
class PersonAltNameDataMapper implements DataMapperInterface
|
||||
{
|
||||
public function mapDataToForms($viewData, $forms)
|
||||
public function mapDataToForms($viewData, iterable $forms)
|
||||
{
|
||||
if (null === $viewData) {
|
||||
return;
|
||||
@@ -47,7 +47,7 @@ class PersonAltNameDataMapper implements DataMapperInterface
|
||||
* @param FormInterface[] $forms
|
||||
* @param Collection $viewData
|
||||
*/
|
||||
public function mapFormsToData($forms, &$viewData)
|
||||
public function mapFormsToData(iterable $forms, &$viewData)
|
||||
{
|
||||
$mapIndexToKey = [];
|
||||
|
||||
|
Reference in New Issue
Block a user