The method getGeneralizer() does not exist on hiqdev\php\billing\order\CalculatorInterface. It seems like you code against a sub-type of hiqdev\php\billing\order\CalculatorInterface such as hiqdev\php\billing\tests...\order\SimpleCalculator.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
31
$aggregator = $aggregator ?: new Aggregator($calculator->/** @scrutinizer ignore-call */ getGeneralizer());
Loading history...
32
$merger = $merger ?: new Merger();
33
$repository = $repository ?: new SimpleBillRepository();