From e728f76544e345fcef94a6bfc1e0cb794150054d Mon Sep 17 00:00:00 2001 From: Owen Leibman Date: Sun, 1 Nov 2020 18:35:25 -0800 Subject: [PATCH] DocBlock Change in Styles/Conditional 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. --- src/PhpSpreadsheet/Style/Conditional.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PhpSpreadsheet/Style/Conditional.php b/src/PhpSpreadsheet/Style/Conditional.php index 35ec479ba5..e4fe0acc7f 100644 --- a/src/PhpSpreadsheet/Style/Conditional.php +++ b/src/PhpSpreadsheet/Style/Conditional.php @@ -189,7 +189,7 @@ public function getConditions() /** * Set Conditions. * - * @param string[] $pValue Condition + * @param bool|float|int|string|string[] $pValue Condition * * @return $this */