Skip to content

Commit

Permalink
fix php8.4 deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
it-can authored Jan 13, 2025
1 parent ae3fb27 commit a1c7bcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PHPUnit/Comparator.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function assertEquals($expected, $actual, $delta = 0.0, $canonicalize = f
);
}

private function formatEnum(Enum $enum = null)
private function formatEnum(?Enum $enum = null)
{
if ($enum === null) {
return "null";
Expand Down

0 comments on commit a1c7bcf

Please sign in to comment.