File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -50,39 +50,39 @@ final class JunitXmlLogger
50
50
private DOMElement $ root ;
51
51
52
52
/**
53
- * @var DOMElement[]
53
+ * @var array<int, DOMElement>
54
54
*/
55
55
private array $ testSuites = [];
56
56
57
57
/**
58
- * @var array<int,int>
58
+ * @var array<int, int>
59
59
*/
60
60
private array $ testSuiteTests = [0 ];
61
61
62
62
/**
63
- * @var array<int,int>
63
+ * @var array<int, int>
64
64
*/
65
65
private array $ testSuiteAssertions = [0 ];
66
66
67
67
/**
68
- * @var array<int,int>
68
+ * @var array<int, int>
69
69
*/
70
70
private array $ testSuiteErrors = [0 ];
71
71
72
72
/**
73
- * @var array<int,int>
73
+ * @var array<int, int>
74
74
*/
75
75
private array $ testSuiteFailures = [0 ];
76
76
77
77
/**
78
- * @var array<int,int>
78
+ * @var array<int, int>
79
79
*/
80
80
private array $ testSuiteSkipped = [0 ];
81
81
82
82
/**
83
- * @var array<int,int >
83
+ * @var array<int, float >
84
84
*/
85
- private array $ testSuiteTimes = [0 ];
85
+ private array $ testSuiteTimes = [0.0 ];
86
86
private int $ testSuiteLevel = 0 ;
87
87
private ?DOMElement $ currentTestCase = null ;
88
88
private ?HRTime $ time = null ;
@@ -131,7 +131,7 @@ public function testSuiteStarted(Started $event): void
131
131
$ this ->testSuiteErrors [$ this ->testSuiteLevel ] = 0 ;
132
132
$ this ->testSuiteFailures [$ this ->testSuiteLevel ] = 0 ;
133
133
$ this ->testSuiteSkipped [$ this ->testSuiteLevel ] = 0 ;
134
- $ this ->testSuiteTimes [$ this ->testSuiteLevel ] = 0 ;
134
+ $ this ->testSuiteTimes [$ this ->testSuiteLevel ] = 0.0 ;
135
135
}
136
136
137
137
public function testSuiteFinished (): void
You can’t perform that action at this time.
0 commit comments