Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Merge branch 'release'
Browse files Browse the repository at this point in the history
  • Loading branch information
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/Translator/Plural/Rule.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class Rule
*
* @param integer $numPlurals
* @param array $ast
* @return void
* @return Rule
*/
protected function __construct($numPlurals, array $ast)
{
Expand Down Expand Up @@ -177,6 +177,7 @@ protected function evaluateAstPart(array $ast, $number)
* Create a new rule from a string.
*
* @param string $string
* @throws Exception\ParseException
* @return Rule
*/
public static function fromString($string)
Expand Down
2 changes: 2 additions & 0 deletions src/Translator/Plural/Symbol.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ public function setLeftDenotationGetter(Closure $getter)
/**
* Get null denotation.
*
* @throws Exception\ParseException
* @return Symbol
*/
public function getNullDenotation()
Expand All @@ -150,6 +151,7 @@ public function getNullDenotation()
* Get left denotation.
*
* @param Symbol $left
* @throws Exception\ParseException
* @return Symbol
*/
public function getLeftDenotation($left)
Expand Down
1 change: 1 addition & 0 deletions src/Translator/Translator.php
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,7 @@ public function addRemoteTranslations($type, $textDomain = 'default')
*
* @param string $textDomain
* @param string $locale
* @throws Exception\RuntimeException
* @return void
*/
protected function loadMessages($textDomain, $locale)
Expand Down
2 changes: 1 addition & 1 deletion src/Validator/Alnum.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class Alnum extends AbstractValidator
/**
* Sets default option values for this instance
*
* @param array|\Traversable $options
* @param bool $allowWhiteSpace
*/
public function __construct($allowWhiteSpace = false)
{
Expand Down

0 comments on commit 2f90998

Please sign in to comment.