Skip to content

Commit

Permalink
make method private, edited docblock
Browse files Browse the repository at this point in the history
  • Loading branch information
ccasciotti committed Mar 24, 2017
1 parent ea1dd49 commit 5bbc908
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -223,12 +223,14 @@ public function getCategoryById($categoryId)
}

/**
* Standardize a string by lowercase-ing it
* Standardize a string.
* For now it performs only a lowercase action, this method is here to include more complex checks in the future
* if needed.
*
* @param string $string
* @return string
*/
protected function standardizeString($string)
private function standardizeString($string)
{
return mb_strtolower($string);
}
Expand Down

0 comments on commit 5bbc908

Please sign in to comment.