Skip to content

Commit 32e4b12

Browse files
Remove superfluous type annotations
1 parent 49ffd34 commit 32e4b12

File tree

2 files changed

+3
-32
lines changed

2 files changed

+3
-32
lines changed

src/Driver/Driver.php

-10
Original file line numberDiff line numberDiff line change
@@ -19,36 +19,26 @@
1919
abstract class Driver
2020
{
2121
/**
22-
* @var int
23-
*
2422
* @see http://xdebug.org/docs/code_coverage
2523
*/
2624
public const int LINE_NOT_EXECUTABLE = -2;
2725

2826
/**
29-
* @var int
30-
*
3127
* @see http://xdebug.org/docs/code_coverage
3228
*/
3329
public const int LINE_NOT_EXECUTED = -1;
3430

3531
/**
36-
* @var int
37-
*
3832
* @see http://xdebug.org/docs/code_coverage
3933
*/
4034
public const int LINE_EXECUTED = 1;
4135

4236
/**
43-
* @var int
44-
*
4537
* @see http://xdebug.org/docs/code_coverage
4638
*/
4739
public const int BRANCH_NOT_HIT = 0;
4840

4941
/**
50-
* @var int
51-
*
5242
* @see http://xdebug.org/docs/code_coverage
5343
*/
5444
public const int BRANCH_HIT = 1;

src/Report/Text.php

+3-22
Original file line numberDiff line numberDiff line change
@@ -23,30 +23,11 @@
2323

2424
final class Text
2525
{
26-
/**
27-
* @var string
28-
*/
29-
private const string COLOR_GREEN = "\x1b[30;42m";
30-
31-
/**
32-
* @var string
33-
*/
26+
private const string COLOR_GREEN = "\x1b[30;42m";
3427
private const string COLOR_YELLOW = "\x1b[30;43m";
35-
36-
/**
37-
* @var string
38-
*/
39-
private const string COLOR_RED = "\x1b[37;41m";
40-
41-
/**
42-
* @var string
43-
*/
28+
private const string COLOR_RED = "\x1b[37;41m";
4429
private const string COLOR_HEADER = "\x1b[1;37;40m";
45-
46-
/**
47-
* @var string
48-
*/
49-
private const string COLOR_RESET = "\x1b[0m";
30+
private const string COLOR_RESET = "\x1b[0m";
5031
private readonly Thresholds $thresholds;
5132
private readonly bool $showUncoveredFiles;
5233
private readonly bool $showOnlySummary;

0 commit comments

Comments
 (0)