Skip to content
Permalink
Browse files

update name to LocaleNumber

  • Loading branch information...
antograssiot committed Sep 1, 2014
1 parent c492bb4 commit 4fa493f3ec3208bc2acbd159a4bdce9c74404766
@@ -23,7 +23,7 @@
*
* @link http://book.cakephp.org/3.0/en/
*/
class I18nNumber extends Number {
class LocaleNumber extends Number {
/**
* Returns a formatted-for-humans file size.
@@ -35,13 +35,13 @@ class NumberHelper extends Helper {
* @var mixed
*/
protected $_defaultConfig = [
'engine' => 'Cake\Utility\Number'
'engine' => 'Cake\I18n\LocaleNumber'
];
/**
* Cake\Utility\Number instance
* Cake\I18n\LocaleNumber instance
*
* @var \Cake\Utility\Number
* @var \Cake\I18n\LocaleNumber
*/
protected $_engine = null;
@@ -17,15 +17,15 @@
namespace Cake\Test\TestCase\I18n;
use Cake\I18n\I18n;
use Cake\I18n\I18nNumber;
use Cake\I18n\LocaleNumber;
use Cake\TestSuite\TestCase;
/**
* NumberTest class
*
*/
class NumberTest extends TestCase {
class LocaleNumberTest extends TestCase {
/**
* setUp method
@@ -34,7 +34,7 @@ class NumberTest extends TestCase {
*/
public function setUp() {
parent::setUp();
$this->Number = new I18nNumber();
$this->Number = new LocaleNumber();
$this->locale = I18n::defaultLocale();
}

0 comments on commit 4fa493f

Please sign in to comment.
You can’t perform that action at this time.