Skip to content

Commit

Permalink
Fixed Argument 2 passed to Contributte\FormMultiplier\ComponentResolv…
Browse files Browse the repository at this point in the history
…er::__construct() must be of the type array, object given
  • Loading branch information
martenb authored and f3l1x committed Sep 11, 2020
1 parent 67977c2 commit 715c51c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Multiplier.php
Expand Up @@ -275,7 +275,7 @@ private function createComponents(ComponentResolver $resolver): void
$count = $resolver->getCreateNum();
while ($count > 0 && $this->isValidMaxCopies()) {
$this->noValidate[] = $containers[] = $container = $this->addCopy();
$container->setValues($this->createContainer()->getValues());
$container->setValues($this->createContainer()->getValues('array'));
$count--;
}
}
Expand Down

0 comments on commit 715c51c

Please sign in to comment.