Hi, I have found a bug on line https://github.com/contributte/forms-multiplier/blob/master/src/Multiplier.php#L297
When adding a copy with another multiplier, attribute $values contains object ArrayHash instead of array causing TypeError (ComponentResolver requires array as second parameter). This minor change should fix that:
$resolver = new ComponentResolver($this->httpData, (array) $this->values, $this->maxCopies, $this->minCopies);
Hi, I have found a bug on line https://github.com/contributte/forms-multiplier/blob/master/src/Multiplier.php#L297 When adding a copy with another multiplier, attribute $values contains object ArrayHash instead of array causing TypeError (ComponentResolver requires array as second parameter). This minor change should fix that:
$resolver = new ComponentResolver($this->httpData, (array) $this->values, $this->maxCopies, $this->minCopies);