Resolve Phpstan Messages in Writer Ods (#3342)

* Resolve Phpstan Messages in Writer Ods

Reduce number of Phpstan messages by addressing their issues.

* Minor Fix

Phpstan reports one fewer error under Php8 than previously.
This commit is contained in:
oleibman
2023-02-05 18:54:11 -08:00
committed by GitHub
parent 8841906dae
commit 14fd9bddeb
6 changed files with 11 additions and 55 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ if (PHP_VERSION_ID < 80000) {
$config['parameters']['ignoreErrors'][] = [
'message' => '#^Binary operation "/" between float and array[|]float[|]int[|]string results in an error.#',
'path' => __DIR__ . '/src/PhpSpreadsheet/Calculation/MathTrig/Combinations.php',
'count' => 2,
'count' => 1,
];
}