Skip to content

Commit e7be269

Browse files
authored
Merge pull request #177 from it-can/master
fix php8.4 deprecated
2 parents 347013f + a0cad67 commit e7be269

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PHPUnit/Comparator.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function assertEquals($expected, $actual, $delta = 0.0, $canonicalize = f
4343
);
4444
}
4545

46-
private function formatEnum(Enum $enum = null)
46+
private function formatEnum(?Enum $enum = null)
4747
{
4848
if ($enum === null) {
4949
return "null";

0 commit comments

Comments
 (0)