Skip to content

Commit

Permalink
Fix psalm issues
Browse files Browse the repository at this point in the history
Signed-off-by: Filippo Tessarotto <[email protected]>
  • Loading branch information
Slamdunk committed Oct 5, 2023
1 parent f627541 commit 4b03f80
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/TestAsset/Annotation/InputFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@

use Laminas\InputFilter\InputFilter as Ancestor;

/**
* @extends Ancestor<null>
*/
class InputFilter extends Ancestor
{
}
3 changes: 3 additions & 0 deletions test/TestAsset/InputFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@

use Laminas\InputFilter\InputFilter as InputFilterBase;

/**
* @extends InputFilterBase<null>
*/
class InputFilter extends InputFilterBase
{
}
1 change: 1 addition & 0 deletions test/View/Helper/Factory/FormElementErrorsFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ public function testFactoryShouldCreateHelperWithTranslateOption(
if ($result['translate_messages'] === true) {
$errorMessage = 'tranlated message';
}
self::assertIsString($result['message_open_format']);
$expected = sprintf(
'%s%s%s',
str_replace('%s', '', $result['message_open_format']),
Expand Down

0 comments on commit 4b03f80

Please sign in to comment.