提交的内容
This commit is contained in:
2
vendor/myclabs/php-enum/src/PHPUnit/Comparator.php
vendored
Executable file → Normal file
2
vendor/myclabs/php-enum/src/PHPUnit/Comparator.php
vendored
Executable file → Normal file
@ -43,7 +43,7 @@ final class Comparator extends \SebastianBergmann\Comparator\Comparator
|
||||
);
|
||||
}
|
||||
|
||||
private function formatEnum(Enum $enum = null)
|
||||
private function formatEnum(?Enum $enum = null)
|
||||
{
|
||||
if ($enum === null) {
|
||||
return "null";
|
||||
|
||||
Reference in New Issue
Block a user