-
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes regression, Allow callbacks to be a FilterInterface again.
Signed-off-by: Pieter Hoste <[email protected]>
- Loading branch information
1 parent
a03ad6a
commit 3ac1097
Showing
3 changed files
with
21 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace LaminasTest\Filter\TestAsset; | ||
|
||
use Laminas\Filter\FilterInterface; | ||
|
||
class StrRepeatFilterInterface implements FilterInterface | ||
{ | ||
public function filter($value) | ||
{ | ||
return str_repeat((string) $value, 2); | ||
Check failure on line 13 in test/TestAsset/StrRepeatFilterInterface.php GitHub Actions / ci / QA Checks (PHPCodeSniffer [8.1, locked], ubuntu-latest, laminas/laminas-continuous-integration-ac...
|
||
} | ||
} |