Skip to content

Commit a1c7bcf

Browse files
authored
fix php8.4 deprecated
1 parent ae3fb27 commit a1c7bcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PHPUnit/Comparator.php

Lines changed: 1 addition & 1 deletion
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)