Skip to content
Permalink
Browse files

Correct doc blocks

  • Loading branch information...
dereuromark committed Apr 6, 2014
1 parent 0d80c92 commit 6f535295206d5421626e522e0b09a949d439df53
Showing with 6 additions and 3 deletions.
  1. +6 −3 lib/Cake/View/Helper/NumberHelper.php
@@ -66,6 +66,7 @@ public function __construct(View $View, $settings = array()) {
/**
* Call methods from CakeNumber utility class
*
* @return mixed Whatever is returned by called method, or false on failure
*/
public function __call($method, $params) {
@@ -100,6 +101,10 @@ public function toReadableSize($size) {
}
/**
* Formats a number into a percentage string.
*
* Options:
*
* - `multiply`: Multiply the input value by 100 for decimal percentages.
*
* @see CakeNumber::toPercentage()
@@ -164,7 +169,6 @@ public function currency($number, $currency = null, $options = array()) {
* @param string $formatName The format name to be used in the future.
* @param array $options The array of options for this format.
* @return void
* @see NumberHelper::currency()
* @link http://book.cakephp.org/2.0/en/core-libraries/helpers/number.html#NumberHelper::addFormat
*/
public function addFormat($formatName, $options) {
@@ -177,8 +181,7 @@ public function addFormat($formatName, $options) {
* @see CakeNumber::defaultCurrency()
*
* @param string $currency The currency to be used in the future.
* @return void
* @see NumberHelper::currency()
* @return string Currency
*/
public function defaultCurrency($currency) {
return $this->_engine->defaultCurrency($currency);

0 comments on commit 6f53529

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.