Skip to content

Commit

Permalink
documentation of get_region_codes()
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexEdimensionz committed Nov 12, 2017
1 parent c83e8c9 commit 2083a7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Services/Service.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ abstract public function getPackageType(Package $package);
private function getPriceDataFileName()
{
$name = join('', array_slice(explode('\\', get_class($this)), -1));
return Inflector::tableize($name).$this->modifier;
return strtolower(preg_replace('~(?<=\\w)([A-Z])~', '_$1', $name)).$this->modifier;
}

/**
Expand Down

0 comments on commit 2083a7c

Please sign in to comment.