We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae3fb27 commit a1c7bcfCopy full SHA for a1c7bcf
src/PHPUnit/Comparator.php
@@ -43,7 +43,7 @@ public function assertEquals($expected, $actual, $delta = 0.0, $canonicalize = f
43
);
44
}
45
46
- private function formatEnum(Enum $enum = null)
+ private function formatEnum(?Enum $enum = null)
47
{
48
if ($enum === null) {
49
return "null";
0 commit comments