Skip to content

Commit

Permalink
fix: methods are not static
Browse files Browse the repository at this point in the history
  • Loading branch information
lukmzig committed Nov 26, 2024
1 parent dec7cc3 commit 2fb814d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 2fb814d

Please sign in to comment.