Skip to content

Commit 8833c23

Browse files
authored
DocBlock Change in Styles/Conditional (#1697)
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.
1 parent 4133bcf commit 8833c23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PhpSpreadsheet/Style/Conditional.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ public function getConditions()
189189
/**
190190
* Set Conditions.
191191
*
192-
* @param string[] $pValue Condition
192+
* @param bool|float|int|string|string[] $pValue Condition
193193
*
194194
* @return $this
195195
*/

0 commit comments

Comments
 (0)