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.
This commit is contained in:
parent
4133bcf1b4
commit
8833c239fb
|
@ -189,7 +189,7 @@ class Conditional implements IComparable
|
||||||
/**
|
/**
|
||||||
* Set Conditions.
|
* Set Conditions.
|
||||||
*
|
*
|
||||||
* @param string[] $pValue Condition
|
* @param bool|float|int|string|string[] $pValue Condition
|
||||||
*
|
*
|
||||||
* @return $this
|
* @return $this
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue