@@ -160,7 +160,7 @@ public function setTests(array $tests): void
160
160
$ this ->tests = $ tests ;
161
161
}
162
162
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
164
164
{
165
165
if ($ clear ) {
166
166
$ this ->clear ();
@@ -177,7 +177,7 @@ public function start(string $id, TestSize $size = null, bool $clear = false): v
177
177
/**
178
178
* @psalm-param array<string,list<int>> $linesToBeIgnored
179
179
*/
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
181
181
{
182
182
$ data = $ this ->driver ->stop ();
183
183
@@ -202,7 +202,7 @@ public function stop(bool $append = true, TestStatus $status = null, array|false
202
202
* @throws TestIdMissingException
203
203
* @throws UnintentionallyCoveredCodeException
204
204
*/
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
206
206
{
207
207
if ($ id === null ) {
208
208
$ id = $ this ->currentId ;
0 commit comments