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
5050 private DOMElement $ root ;
5151
5252 /**
53- * @var DOMElement[]
53+ * @var array<int, DOMElement>
5454 */
5555 private array $ testSuites = [];
5656
5757 /**
58- * @var array<int,int>
58+ * @var array<int, int>
5959 */
6060 private array $ testSuiteTests = [0 ];
6161
6262 /**
63- * @var array<int,int>
63+ * @var array<int, int>
6464 */
6565 private array $ testSuiteAssertions = [0 ];
6666
6767 /**
68- * @var array<int,int>
68+ * @var array<int, int>
6969 */
7070 private array $ testSuiteErrors = [0 ];
7171
7272 /**
73- * @var array<int,int>
73+ * @var array<int, int>
7474 */
7575 private array $ testSuiteFailures = [0 ];
7676
7777 /**
78- * @var array<int,int>
78+ * @var array<int, int>
7979 */
8080 private array $ testSuiteSkipped = [0 ];
8181
8282 /**
83- * @var array<int,int >
83+ * @var array<int, float >
8484 */
85- private array $ testSuiteTimes = [0 ];
85+ private array $ testSuiteTimes = [0.0 ];
8686 private int $ testSuiteLevel = 0 ;
8787 private ?DOMElement $ currentTestCase = null ;
8888 private ?HRTime $ time = null ;
@@ -131,7 +131,7 @@ public function testSuiteStarted(Started $event): void
131131 $ this ->testSuiteErrors [$ this ->testSuiteLevel ] = 0 ;
132132 $ this ->testSuiteFailures [$ this ->testSuiteLevel ] = 0 ;
133133 $ this ->testSuiteSkipped [$ this ->testSuiteLevel ] = 0 ;
134- $ this ->testSuiteTimes [$ this ->testSuiteLevel ] = 0 ;
134+ $ this ->testSuiteTimes [$ this ->testSuiteLevel ] = 0.0 ;
135135 }
136136
137137 public function testSuiteFinished (): void
You can’t perform that action at this time.
0 commit comments