From adfefb010f49e338bf0cf7d940e39ce6ca508abc Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 3 Sep 2024 09:55:28 +0200 Subject: [PATCH] Fix PHP Fatal error: Can't inherit abstract function CommonNumRefGenerator::getExample() (previously declared abstract in ModeleProductCode) --- htdocs/core/modules/product/modules_product.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/modules/product/modules_product.class.php b/htdocs/core/modules/product/modules_product.class.php index 249a19b73e1..6e6acef9b41 100644 --- a/htdocs/core/modules/product/modules_product.class.php +++ b/htdocs/core/modules/product/modules_product.class.php @@ -210,5 +210,5 @@ abstract class ModeleProductCode extends CommonNumRefGenerator * @param int<-1,2> $type Type of third party (1:customer, 2:supplier, -1:autodetect) * @return string Return string example */ - abstract public function getExample($langs = null, $objproduct = '', $type = -1); + //abstract public function getExample($langs = null, $objproduct = '', $type = -1); }