Skip to content

Commit 9e27f5c

Browse files
CS fixes
1 parent 0eac9d3 commit 9e27f5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Translation/Test/TranslatorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ protected function validateMatrix($nplural, $matrix, $expectSuccess = true)
348348
foreach ($matrix as $langCode => $data) {
349349
$indexes = array_flip($data);
350350
if ($expectSuccess) {
351-
$this->assertEquals($nplural, \count($indexes), "Langcode '$langCode' has '$nplural' plural forms.");
351+
$this->assertCount($nplural, $indexes, "Langcode '$langCode' has '$nplural' plural forms.");
352352
} else {
353353
$this->assertNotEquals((int) $nplural, \count($indexes), "Langcode '$langCode' has '$nplural' plural forms.");
354354
}

0 commit comments

Comments
 (0)