Fix coding standard error.

This commit is contained in:
mark_story 2012-03-31 21:38:39 -04:00
parent 990fbcdea0
commit 6677127c8e

View file

@ -149,7 +149,7 @@ class CakeNumber {
extract($options); extract($options);
} }
$out = $before . self::_number_format($number, $places, $decimals, $thousands) . $after; $out = $before . self::_numberFormat($number, $places, $decimals, $thousands) . $after;
if ($escape) { if ($escape) {
return h($out); return h($out);
@ -166,7 +166,7 @@ class CakeNumber {
* @param string $thousands * @param string $thousands
* @return string * @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)) { if (!isset(self::$_numberFormatSupport)) {
self::$_numberFormatSupport = version_compare(PHP_VERSION, '5.4.0', '>='); self::$_numberFormatSupport = version_compare(PHP_VERSION, '5.4.0', '>=');
} }