Skip to content
Permalink
Browse files

Pass along options for ordinal method in NumberHelper

  • Loading branch information...
bcrowe committed Sep 4, 2015
1 parent a8627b4 commit 87263dc2146af1fa701cf9be6ad489c894a49e73
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/View/Helper/NumberHelper.php
@@ -235,10 +235,11 @@ public function implementedEvents()
* Formats a number into locale specific ordinal suffix.
*
* @param int|float $value An integer
* @param array $options An array with options.
* @return string formatted number
*/
public function ordinal($value)
public function ordinal($value, array $options = [])
{
return $this->_engine->ordinal($value);
return $this->_engine->ordinal($value, $options);
}
}

0 comments on commit 87263dc

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