Skip to content

Commit ddbc3a3

Browse files
staabmsebastianbergmann
authored andcommitted
fix CS
1 parent a844dfd commit ddbc3a3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Data/ProcessedCodeCoverageData.php

+2-3
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
* }>,
4242
* hit: list<TestIdType>
4343
* }
44-
*
4544
* @phpstan-type FunctionCoverageType array<string, array<string, FunctionCoverageDataType>>
4645
*/
4746
final class ProcessedCodeCoverageData
@@ -241,7 +240,7 @@ private function priorityForLine(array $data, int $line): int
241240
/**
242241
* For a function we have never seen before, copy all data over and simply init the 'hit' array.
243242
*
244-
* @param XdebugFunctionCoverageType|FunctionCoverageDataType $functionData
243+
* @param FunctionCoverageDataType|XdebugFunctionCoverageType $functionData
245244
*/
246245
private function initPreviouslyUnseenFunction(string $file, string $functionName, array $functionData): void
247246
{
@@ -261,7 +260,7 @@ private function initPreviouslyUnseenFunction(string $file, string $functionName
261260
* Techniques such as mocking and where the contents of a file are different vary during tests (e.g. compiling
262261
* containers) mean that the functions inside a file cannot be relied upon to be static.
263262
*
264-
* @param XdebugFunctionCoverageType|FunctionCoverageDataType $functionData
263+
* @param FunctionCoverageDataType|XdebugFunctionCoverageType $functionData
265264
*/
266265
private function initPreviouslySeenFunction(string $file, string $functionName, array $functionData): void
267266
{

0 commit comments

Comments
 (0)