Skip to content

Commit 877ab6e

Browse files
YAhirumheap
authored andcommitted
fix signature of printHeader for 8.0.0 ~ 8.5.6
1 parent 316d5f3 commit 877ab6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Printer8.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class Printer8 extends ResultPrinter
1717
*/
1818
private $currentType;
1919

20-
protected function printHeader(TestResult $result): void
20+
protected function printHeader(TestResult $result = null): void
2121
{
2222
}
2323

0 commit comments

Comments
 (0)