Skip to content

Commit

Permalink
fix function signature tests
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed Jul 30, 2024
1 parent c0fee7a commit 44afb9d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Util/TestListenerTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ function {$f['name']}{$f['signature']}
'array|string|null $string' => 'array|string $string',
'array|string|null $from_encoding = null' => 'array|string|null $from_encoding = null',
'array|string|null $from_encoding' => 'array|string $from_encoding',
'string $encoding = null' => '?string $encoding = null',
'int $length = null' => '?int $length = null',
];

if (strtr($polyfillSignature, $map) !== $originalSignature) {
Expand Down

0 comments on commit 44afb9d

Please sign in to comment.