Skip to content

Commit

Permalink
Change array.
Browse files Browse the repository at this point in the history
  • Loading branch information
euromark committed Nov 17, 2014
1 parent 1b4821d commit 925c009
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/I18n/Number.php
Expand Up @@ -52,7 +52,7 @@ class Number {
* @return string Formatted float.
* @link http://book.cakephp.org/2.0/en/core-libraries/helpers/number.html#NumberHelper::precision
*/
public static function precision($value, $precision = 3, array $options = array()) {
public static function precision($value, $precision = 3, array $options = []) {
$formatter = static::formatter(['precision' => $precision, 'places' => $precision] + $options);
return $formatter->format($value);
}
Expand Down

0 comments on commit 925c009

Please sign in to comment.