The method ProductOptions() does not exist on Dynamic\FoxyStripe\Page\ProductPageController. Since you implemented __call, consider adding a @method annotation.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
18
if ($this->data()->Available && $this->/** @scrutinizer ignore-call */ ProductOptions()->exists()) {
__FUNCTION__ of type string is incompatible with the type array expected by parameter $args of SilverStripe\View\ViewableData::create().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
$this->data() of type SilverStripe\CMS\Model\SiteTree is incompatible with the type array expected by parameter $args of SilverStripe\View\ViewableData::create().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
$this of type Dynamic\FoxyStripe\Page\ProductPageController is incompatible with the type array expected by parameter $args of SilverStripe\View\ViewableData::create().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation