Skip to content

Commit

Permalink
DocBlock Change in Styles/Conditional (#1697)
Browse files Browse the repository at this point in the history
Scrutinizer reported a minor error in a test involving a module
which I was not changing.
Styles/Conditional function setConditions can take a scalar or an
array as a parameter, but DocBlock says it only expects array.
I did not wish to add the extra module to my PR, but made a note to
self to fix that after PR was installed.
That has now happened, and it makes for a good case for me
to see all the PHP8/Composer2/etc. changes that have happened recently.
  • Loading branch information
oleibman committed Dec 10, 2020
1 parent 4133bcf commit 8833c23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PhpSpreadsheet/Style/Conditional.php
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ public function getConditions()
/**
* Set Conditions.
*
* @param string[] $pValue Condition
* @param bool|float|int|string|string[] $pValue Condition
*
* @return $this
*/
Expand Down

0 comments on commit 8833c23

Please sign in to comment.