diff --git a/ps_facetedsearch.php b/ps_facetedsearch.php index c2a5a799a..cb42edb70 100644 --- a/ps_facetedsearch.php +++ b/ps_facetedsearch.php @@ -966,12 +966,9 @@ private function getExistingFiltersOverview() $filters_templates[$k]['controllers'] = implode(', ', $tmp); // Format date for different core versions. Since 8.0, it has only two arguments. - // PHPStan ignores are added because it doesn't seem to understand the condition. if (version_compare(_PS_VERSION_, '8.0.0', '>=')) { - /** @phpstan-ignore-next-line */ $filters_templates[$k]['date_add'] = Tools::displayDate($v['date_add'], true); } else { - /** @phpstan-ignore-next-line */ $filters_templates[$k]['date_add'] = Tools::displayDate($v['date_add'], null, true); } }