The method filter() does not exist on Zenstruck\ScheduleBundle\Schedule\Extension. It seems like you code against a sub-type of Zenstruck\ScheduleBundle\Schedule\Extension such as Zenstruck\ScheduleBundle...on\BetweenTimeExtension.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
20
$extension->/** @scrutinizer ignore-call */
21
filter($context->getTask()->getTimezone());
Loading history...
21
}
22
23
public function supports(Extension $extension): bool