Skip to content

Commit d5d48d9

Browse files
committed
Fixed arguments.count errors
1 parent cb287b2 commit d5d48d9

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

phpstan.dist.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
parameters:
2-
level: 0
2+
level: 1
33
paths:
44
- src
55
- tests

tests/MoGeneratorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function testMoGenerator()
2626
$translation->translate('Orixinal');
2727
$translations->add($translation);
2828

29-
$translation = Translation::create('context-1', 'Other comment', 'Other comments');
29+
$translation = Translation::create('context-1', 'Other comment');
3030
$translation->translate('Outro comentario');
3131
$translation->translatePlural('Outros comentarios');
3232
$translations->add($translation);

tests/PoGeneratorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function testPoLoader()
3333
$translation->getReferences()->add('/my/template.php', 45);
3434
$translations->add($translation);
3535

36-
$translation = Translation::create('context-1', 'Other comment', 'Other comments');
36+
$translation = Translation::create('context-1', 'Other comment');
3737
$translation->translate('Outro comentario');
3838
$translation->translatePlural('Outros comentarios');
3939
$translation->getExtractedComments()->add('Not sure about this');

0 commit comments

Comments
 (0)