diff --git a/src/Models/DataObject/ClassificationStore/GroupConfigResolver.php b/src/Models/DataObject/ClassificationStore/GroupConfigResolver.php index 70d5206..02f3265 100644 --- a/src/Models/DataObject/ClassificationStore/GroupConfigResolver.php +++ b/src/Models/DataObject/ClassificationStore/GroupConfigResolver.php @@ -37,7 +37,7 @@ public function getByName(string $name, int $storeId = 1, ?bool $force = false): return GroupConfig::getByName($name, $storeId, $force); } - public static function create(): GroupConfig + public function create(): GroupConfig { return GroupConfig::create(); } diff --git a/src/Models/DataObject/ClassificationStore/GroupConfigResolverInterface.php b/src/Models/DataObject/ClassificationStore/GroupConfigResolverInterface.php index aaf22a8..b7425c9 100644 --- a/src/Models/DataObject/ClassificationStore/GroupConfigResolverInterface.php +++ b/src/Models/DataObject/ClassificationStore/GroupConfigResolverInterface.php @@ -28,5 +28,5 @@ public function getById(int $id, ?bool $force = false): ?GroupConfig; */ public function getByName(string $name, int $storeId = 1, ?bool $force = false): ?GroupConfig; - public static function create(): GroupConfig; + public function create(): GroupConfig; }