Skip to content

Commit 142c2fc

Browse files
committed
fix CS
1 parent bdce6e7 commit 142c2fc

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/Data/ProcessedCodeCoverageData.php

+2-4
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
* @phpstan-import-type XdebugFunctionCoverageType from XdebugDriver
2626
*
2727
* @phpstan-type TestIdType = string
28-
*
2928
* @phpstan-type FunctionCoverageDataType array{
3029
* branches: array<int, array{
3130
* op_start: int,
@@ -42,7 +41,6 @@
4241
* }>,
4342
* hit: list<TestIdType>
4443
* }
45-
*
4644
* @phpstan-type FunctionCoverageType array<string, array<string, FunctionCoverageDataType>>
4745
*/
4846
final class ProcessedCodeCoverageData
@@ -242,7 +240,7 @@ private function priorityForLine(array $data, int $line): int
242240
/**
243241
* For a function we have never seen before, copy all data over and simply init the 'hit' array.
244242
*
245-
* @param XdebugFunctionCoverageType|FunctionCoverageDataType $functionData
243+
* @param FunctionCoverageDataType|XdebugFunctionCoverageType $functionData
246244
*/
247245
private function initPreviouslyUnseenFunction(string $file, string $functionName, array $functionData): void
248246
{
@@ -262,7 +260,7 @@ private function initPreviouslyUnseenFunction(string $file, string $functionName
262260
* Techniques such as mocking and where the contents of a file are different vary during tests (e.g. compiling
263261
* containers) mean that the functions inside a file cannot be relied upon to be static.
264262
*
265-
* @param XdebugFunctionCoverageType|FunctionCoverageDataType $functionData
263+
* @param FunctionCoverageDataType|XdebugFunctionCoverageType $functionData
266264
*/
267265
private function initPreviouslySeenFunction(string $file, string $functionName, array $functionData): void
268266
{

0 commit comments

Comments
 (0)