Skip to content

Commit e13d409

Browse files
committed
php 8.4 compatibility
1 parent f6a82ae commit e13d409

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Matchers/ReverseDictionaryMatch.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function getFeedback(bool $isSoleMatch): array
5454
return $feedback;
5555
}
5656

57-
public static function mbStrRev(string $string, string $encoding = null): string
57+
public static function mbStrRev(string $string, ?string $encoding = null): string
5858
{
5959
if ($encoding === null) {
6060
$encoding = mb_detect_encoding($string) ?: 'UTF-8';

0 commit comments

Comments
 (0)