Skip to content

Commit b35dd8d

Browse files
committed
Rector TypedPropertyFromStrictConstructorRector
1 parent 53cd757 commit b35dd8d

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/PhpSpreadsheet/Style/ConditionalFormatting/CellMatcher.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
use PhpOffice\PhpSpreadsheet\Cell\Cell;
88
use PhpOffice\PhpSpreadsheet\Cell\Coordinate;
99
use PhpOffice\PhpSpreadsheet\Style\Conditional;
10+
use PhpOffice\PhpSpreadsheet\Worksheet\Worksheet;
1011

1112
class CellMatcher
1213
{
@@ -29,17 +30,14 @@ class CellMatcher
2930
Conditional::CONDITION_UNIQUE => "COUNTIF('%s'!%s,%s)=1",
3031
];
3132

32-
/**
33-
* @var Cell
34-
*/
35-
protected $cell;
33+
protected Cell $cell;
3634

3735
/**
3836
* @var int
3937
*/
4038
protected $cellRow;
4139

42-
protected \PhpOffice\PhpSpreadsheet\Worksheet\Worksheet $worksheet;
40+
protected Worksheet $worksheet;
4341

4442
/**
4543
* @var int
@@ -66,7 +64,7 @@ class CellMatcher
6664
*/
6765
protected $referenceColumn;
6866

69-
protected \PhpOffice\PhpSpreadsheet\Calculation\Calculation $engine;
67+
protected Calculation $engine;
7068

7169
public function __construct(Cell $cell, string $conditionalRange)
7270
{

0 commit comments

Comments
 (0)