func_get_args() is expanded, but the parameter $normalizer of Palmtree\Csv\Normalizer\...rmalizer::__construct() does not expect variable arguments.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
20
return new static(/** @scrutinizer ignore-type */ ...\func_get_args());
Loading history...
21
}
22
23
/**
24
* @return mixed
25
*/
26
abstract protected function getNormalizedValue(string $value);
27
28
/**
29
* @inheritdoc
30
*/
31
10
public function normalize(string $value)
32
{
33
10
if ($this->normalizer) {
34
$value = $this->normalizer->normalize($value);
35
}
36
37
10
$value = $this->getNormalizedValue($value);
38
39
10
return $value;
40
}
41
42
10
public function setNormalizer(?NormalizerInterface $normalizer = null): self
43
{
44
10
$this->normalizer = $normalizer;
45
46
10
return $this;
47
}
48
49
public function getNormalizer(): ?NormalizerInterface