Skip to content

Commit

Permalink
fix: fix fatal error in weight service
Browse files Browse the repository at this point in the history
Resolves #209
  • Loading branch information
EdieLemoine committed Feb 8, 2023
1 parent 7bb31fd commit 3b0eb49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Service/WeightService.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class WeightService extends PdkWeightService
*
* @return int
*/
public static function convertToGrams($weight, string $unit = ''): int
public function convertToGrams($weight, string $unit = ''): int
{
return parent::convertToGrams($weight, strtolower(Configuration::get('PS_WEIGHT_UNIT')));
}
Expand Down

0 comments on commit 3b0eb49

Please sign in to comment.