Navigation Menu

Skip to content

Commit

Permalink
Fix coding standard error.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Apr 1, 2012
1 parent 990fbcd commit 6677127
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Cake/Utility/CakeNumber.php
Expand Up @@ -149,7 +149,7 @@ public static function format($number, $options = false) {
extract($options);
}

$out = $before . self::_number_format($number, $places, $decimals, $thousands) . $after;
$out = $before . self::_numberFormat($number, $places, $decimals, $thousands) . $after;

if ($escape) {
return h($out);
Expand All @@ -166,7 +166,7 @@ public static function format($number, $options = false) {
* @param string $thousands
* @return string
*/
protected static function _number_format($number, $places = 0, $decimals = '.', $thousands = ',') {
protected static function _numberFormat($number, $places = 0, $decimals = '.', $thousands = ',') {
if (!isset(self::$_numberFormatSupport)) {
self::$_numberFormatSupport = version_compare(PHP_VERSION, '5.4.0', '>=');
}
Expand Down

0 comments on commit 6677127

Please sign in to comment.