Permalink
Browse files

Fix coding standard error.

  • Loading branch information...
1 parent 990fbcd commit 6677127c8e4f86b09c6f2ccc727c0791fdde444f @markstory markstory committed Apr 1, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Cake/Utility/CakeNumber.php
@@ -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);
@@ -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', '>=');
}

0 comments on commit 6677127

Please sign in to comment.