Skip to content

Commit

Permalink
rename helper file name
Browse files Browse the repository at this point in the history
  • Loading branch information
Aslam97 committed Dec 19, 2022
1 parent c85858d commit 37b8f9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"Meteor\\Shipper\\Tests\\": "tests"
},
"files": [
"src/helper.php"
"src/helpers.php"
]
},
"extra": {
Expand Down
4 changes: 1 addition & 3 deletions src/helper.php → src/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ function shipper_categories()
if (! function_exists('shipper_phone_format')) {
function shipper_phone_format($phone)
{
$phone = preg_replace('/^0|\+/', '', $phone);

return $phone;
return preg_replace('/^0|\+/', '', $phone);
}
}

0 comments on commit 37b8f9b

Please sign in to comment.