Permalink
Browse files

Docblock fix.

lithium\g11n\Message::aliases() had a bad usage for $tn method since the
3rd arg is supposed to be a numeric value and the example had an array
which could lead to bad uses and not the expected result.
  • Loading branch information...
1 parent 5e1c375 commit ce86e291621b8bb7e84eb7337fbfecfefd895198 @rapzo rapzo committed Jan 17, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 g11n/Message.php
View
@@ -125,7 +125,7 @@ public static function translate($id, array $options = array()) {
* Usage:
* {{{
* $t('bike');
- * $tn('bike', 'bikes', array('count' => 3));
+ * $tn('bike', 'bikes', 3);
* }}}
*
* Using in a method:

0 comments on commit ce86e29

Please sign in to comment.