Skip to content

Commit bbf9d15

Browse files
committed
Php-cs-fixer Enforcing New Rules
The latest release seems to not want you to give a class element both a Php type and a doc-block type. I used the "fix" operand to delete the redundant doc-block declarations, with no other changes. So there should be no change to executable code.
1 parent 3b15055 commit bbf9d15

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+6
-123
lines changed

composer.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/PhpSpreadsheet/Calculation/Calculation.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,6 @@ class Calculation
6969

7070
/**
7171
* Instance of this class.
72-
*
73-
* @var ?Calculation
7472
*/
7573
private static ?Calculation $instance = null;
7674

@@ -3272,10 +3270,8 @@ private static function translateFormula(array $from, array $to, string $formula
32723270
return $formula;
32733271
}
32743272

3275-
/** @var ?array */
32763273
private static ?array $functionReplaceFromExcel;
32773274

3278-
/** @var ?array */
32793275
private static ?array $functionReplaceToLocale;
32803276

32813277
/**
@@ -3321,10 +3317,8 @@ public function translateFormulaToLocale(string $formula): string
33213317
);
33223318
}
33233319

3324-
/** @var ?array */
33253320
private static ?array $functionReplaceFromLocale;
33263321

3327-
/** @var ?array */
33283322
private static ?array $functionReplaceToExcel;
33293323

33303324
/**

src/PhpSpreadsheet/Cell/Cell.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ class Cell implements Stringable
5050

5151
/**
5252
* The collection of cells that this cell belongs to (i.e. The Cell Collection for the parent Worksheet).
53-
*
54-
* @var ?Cells
5553
*/
5654
private ?Cells $parent;
5755

src/PhpSpreadsheet/Chart/Properties.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ abstract class Properties
105105

106106
protected bool $objectState = false; // used only for minor gridlines
107107

108-
/** @var ?float */
109108
protected ?float $glowSize = null;
110109

111110
protected ChartColor $glowColor;

src/PhpSpreadsheet/Helper/Html.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -533,13 +533,10 @@ class Html
533533
'yellowgreen' => '9acd32',
534534
];
535535

536-
/** @var ?string */
537536
private ?string $face = null;
538537

539-
/** @var ?string */
540538
private ?string $size = null;
541539

542-
/** @var ?string */
543540
private ?string $color = null;
544541

545542
private bool $bold = false;

src/PhpSpreadsheet/Reader/Csv/Delimiter.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ class Delimiter
1717

1818
protected int $numberLines = 0;
1919

20-
/** @var ?string */
2120
protected ?string $delimiter = null;
2221

2322
/**

src/PhpSpreadsheet/Reader/Xls.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,8 +350,6 @@ class Xls extends BaseReader
350350

351351
/**
352352
* The current RC4 decryption object.
353-
*
354-
* @var ?Xls\RC4
355353
*/
356354
private ?Xls\RC4 $rc4Key = null;
357355

src/PhpSpreadsheet/Reader/Xlsx/Styles.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ class Styles extends BaseParserClass
1919
{
2020
/**
2121
* Theme instance.
22-
*
23-
* @var ?Theme
2422
*/
2523
private ?Theme $theme = null;
2624

src/PhpSpreadsheet/ReferenceHelper.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ class ReferenceHelper
2424

2525
/**
2626
* Instance of this class.
27-
*
28-
* @var ?ReferenceHelper
2927
*/
3028
private static ?ReferenceHelper $instance = null;
3129

src/PhpSpreadsheet/RichText/Run.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ class Run extends TextElement implements ITextElement
99
{
1010
/**
1111
* Font.
12-
*
13-
* @var ?Font
1412
*/
1513
private ?Font $font;
1614

0 commit comments

Comments
 (0)