Skip to content

Commit

Permalink
Merge branch 'php84' into php84-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
mkopinsky committed Nov 20, 2024
2 parents 9c3b829 + e13d409 commit dad00ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Matchers/ReverseDictionaryMatch.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function getFeedback(bool $isSoleMatch): array
return $feedback;
}

public static function mbStrRev(string $string, string $encoding = null): string
public static function mbStrRev(string $string, ?string $encoding = null): string
{
if ($encoding === null) {
$encoding = mb_detect_encoding($string) ?: 'UTF-8';
Expand Down

0 comments on commit dad00ba

Please sign in to comment.