Skip to content

Commit 10259bc

Browse files
authored
fix: Implicitly marking parameter $message as nullable is deprecated, (#242)
1 parent b4ad84c commit 10259bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Console/Output/JUnitOutputFormatter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public function createXmlOutput(ErrorAndDiffResult $errorAndDiffResult, bool $ab
8484
/**
8585
* Format a single test case
8686
*/
87-
private function createTestCase(string $reference, string $message = null): string
87+
private function createTestCase(string $reference, ?string $message = null): string
8888
{
8989
$result = sprintf('<testcase name="%s">', $this->escape($reference));
9090
if ($message !== null) {

0 commit comments

Comments
 (0)