mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-23 07:04:58 +00:00
Fix phpstan issues
This commit is contained in:
@@ -19,7 +19,7 @@ use Symfony\Component\Form\Exception\UnexpectedTypeException;
|
||||
|
||||
class PersonAltNameDataMapper implements DataMapperInterface
|
||||
{
|
||||
public function mapDataToForms($viewData, iterable $forms)
|
||||
public function mapDataToForms($viewData, iterable $forms): void
|
||||
{
|
||||
if (null === $viewData) {
|
||||
return;
|
||||
@@ -43,11 +43,7 @@ class PersonAltNameDataMapper implements DataMapperInterface
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param FormInterface[] $forms
|
||||
* @param Collection $viewData
|
||||
*/
|
||||
public function mapFormsToData(iterable $forms, &$viewData)
|
||||
public function mapFormsToData(iterable $forms, &$viewData): void
|
||||
{
|
||||
$mapIndexToKey = [];
|
||||
|
||||
|
Reference in New Issue
Block a user