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

Commit

Permalink
Merge branch 'master' of git://github.com/zendframework/zf2 into ZF2-377
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-mabe committed Jul 17, 2012
6 parents a82fc82 + 7c2a059 + 7ea3aed + df6a706 + 4fefb53 + 599ee3a commit 8870381
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Translator/Translator.php
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ public function translatePlural(
);
}

return ($number != 1 ? $singular : $plural);
return ($number == 1 ? $singular : $plural);
}

$index = $this->messages[$textDomain][$locale]
Expand Down
4 changes: 2 additions & 2 deletions test/Filter/NumberFormatTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function testFormattedToNumber($locale, $style, $type, $value, $expected)
$this->assertEquals($expected, $filter->filter($value));
}

static public function numberToFormattedProvider()
public static function numberToFormattedProvider()
{
return array(
array(
Expand All @@ -91,7 +91,7 @@ static public function numberToFormattedProvider()
);
}

static public function formattedToNumberProvider()
public static function formattedToNumberProvider()
{
return array(
array(
Expand Down

0 comments on commit 8870381

Please sign in to comment.