'10.1' of type string is incompatible with the type double expected by parameter $initial_value of Ducks\Component\SplTypes\SplFloat::__construct().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
31
$instance = new DuckFloat(/** @scrutinizer ignore-type */ '10.1');