diff --git a/src/Multiplier.php b/src/Multiplier.php index 4989a92..20d3c38 100644 --- a/src/Multiplier.php +++ b/src/Multiplier.php @@ -323,7 +323,7 @@ public function getContainers(): Iterator * @param mixed[]|object $values * @phpcsSuppress SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint */ - public function setValues($values, bool $erase = false): self + public function setValues($values, bool $erase = false): static { $values = $values instanceof Traversable ? iterator_to_array($values) : (array) $values;