Skip to content

Commit 44afb9d

Browse files
committed
fix function signature tests
1 parent c0fee7a commit 44afb9d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Util/TestListenerTrait.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ function {$f['name']}{$f['signature']}
129129
'array|string|null $string' => 'array|string $string',
130130
'array|string|null $from_encoding = null' => 'array|string|null $from_encoding = null',
131131
'array|string|null $from_encoding' => 'array|string $from_encoding',
132+
'string $encoding = null' => '?string $encoding = null',
133+
'int $length = null' => '?int $length = null',
132134
];
133135

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

0 commit comments

Comments
 (0)