Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Correct doc blocks
  • Loading branch information
euromark committed Apr 6, 2014
1 parent 0d80c92 commit 6f53529
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions lib/Cake/View/Helper/NumberHelper.php
Expand Up @@ -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) {
Expand Down Expand Up @@ -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()
Expand Down Expand Up @@ -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) {
Expand All @@ -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);
Expand Down

0 comments on commit 6f53529

Please sign in to comment.