@@ -160,7 +160,7 @@ public function setTests(array $tests): void
160160 $ this ->tests = $ tests ;
161161 }
162162
163- public function start (string $ id , TestSize $ size = null , bool $ clear = false ): void
163+ public function start (string $ id , ? TestSize $ size = null , bool $ clear = false ): void
164164 {
165165 if ($ clear ) {
166166 $ this ->clear ();
@@ -177,7 +177,7 @@ public function start(string $id, TestSize $size = null, bool $clear = false): v
177177 /**
178178 * @psalm-param array<string,list<int>> $linesToBeIgnored
179179 */
180- public function stop (bool $ append = true , TestStatus $ status = null , array |false $ linesToBeCovered = [], array $ linesToBeUsed = [], array $ linesToBeIgnored = []): RawCodeCoverageData
180+ public function stop (bool $ append = true , ? TestStatus $ status = null , array |false $ linesToBeCovered = [], array $ linesToBeUsed = [], array $ linesToBeIgnored = []): RawCodeCoverageData
181181 {
182182 $ data = $ this ->driver ->stop ();
183183
@@ -202,7 +202,7 @@ public function stop(bool $append = true, TestStatus $status = null, array|false
202202 * @throws TestIdMissingException
203203 * @throws UnintentionallyCoveredCodeException
204204 */
205- public function append (RawCodeCoverageData $ rawData , string $ id = null , bool $ append = true , TestStatus $ status = null , array |false $ linesToBeCovered = [], array $ linesToBeUsed = [], array $ linesToBeIgnored = []): void
205+ public function append (RawCodeCoverageData $ rawData , ? string $ id = null , bool $ append = true , ? TestStatus $ status = null , array |false $ linesToBeCovered = [], array $ linesToBeUsed = [], array $ linesToBeIgnored = []): void
206206 {
207207 if ($ id === null ) {
208208 $ id = $ this ->currentId ;
0 commit comments