From 2fb814d3daedc9200b6d396a73ee5ca721b28a5d Mon Sep 17 00:00:00 2001 From: lukmzig Date: Tue, 26 Nov 2024 11:12:31 +0100 Subject: [PATCH] fix: methods are not static --- .../DataObject/ClassificationStore/GroupConfigResolver.php | 2 +- .../ClassificationStore/GroupConfigResolverInterface.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; }