PluginProbe
TablePress – Tables in WordPress made easy / 3.4
TablePress – Tables in WordPress made easy v3.4
3.4 3.3.4 3.3.3 3.3.2 3.3.1 trunk 1.12 1.14 1.9.2 2.0.4 2.1.7 2.1.8 2.2 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.3 2.3.1 2.3.2 2.4 2.4.1 2.4.2 2.4.3 All 45 releases
← All changes | libraries/vendor/PhpSpreadsheet/Style/ConditionalFormatting/Wizard/CellValue.php +2 -3 3.3.2 → 3.4 View file →
@@ -69,9 +69,9 @@
69 69 if (is_string($operand)) {
70 70 $operand = $this->validateOperand($operand, $operandValueType);
71 71 }
72 72
73 - $this->operand[$index] = $operand; //* @phpstan-ignore-line
73 + $this->operand[$index] = $operand; //* @phpstan-ignore assign.propertyType (I don't know what is needed)
74 74 $this->operandValueType[$index] = $operandValueType;
75 75 }
76 76
77 77 /**
@@ -196,10 +196,9 @@
196 196 {
197 197 $retVal = true;
198 198 $array = array_merge(array_keys(self::SINGLE_OPERATORS), array_keys(self::RANGE_OPERATORS));
199 199 foreach ($array as $value) {
200 - // PhpStan is correct about next statement, but we want to test anyhow
201 - $retVal = $retVal && in_array($value, self::MAGIC_OPERATIONS, true); // @phpstan-ignore-line
200 + $retVal = $retVal && in_array($value, self::MAGIC_OPERATIONS, true);
202 201 }
203 202
204 203 return $retVal;
205 204 }