Skip to content

Commit 9b4e600

Browse files
MikKubaMartkCz
authored andcommitted
FIX compile error
PHP 8.2 Declaration of Contributte\FormMultiplier\Multiplier::setValues($values, bool $erase = false): Contributte\FormMultiplier\Multiplier must be compatible with Nette\Forms\Container::setValues(object|array $data, bool $erase = false): static
1 parent 39725d3 commit 9b4e600

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Multiplier.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ public function getContainers(): Iterator
323323
* @param mixed[]|object $values
324324
* @phpcsSuppress SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint
325325
*/
326-
public function setValues($values, bool $erase = false): self
326+
public function setValues($values, bool $erase = false): static
327327
{
328328
$values = $values instanceof Traversable ? iterator_to_array($values) : (array) $values;
329329

0 commit comments

Comments
 (0)