Skip to content

Commit

Permalink
Merge pull request #177 from it-can/master
Browse files Browse the repository at this point in the history
fix php8.4 deprecated
  • Loading branch information
mnapoli authored Jan 14, 2025
2 parents 347013f + a0cad67 commit e7be269
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 e7be269

Please sign in to comment.