← All changes
|
libraries/vendor/PhpSpreadsheet/Calculation/Engine/Logger.php
+2
-2
3.3.1
→
3.4
View file →
| @@ -78,10 +78,10 @@ | ||
| 78 | 78 | public function writeDebugLog(string $message, ...$args): void |
| 79 | 79 | { |
| 80 | 80 | // Only write the debug log if logging is enabled |
| 81 | 81 | if ($this->writeDebugLog) { |
| 82 | - $message = sprintf($message, ...$args); //* @phpstan-ignore-line | |
| 83 | - $cellReference = implode(' -> ', $this->cellStack->showStack()); //* @phpstan-ignore-line | |
| 82 | + $message = sprintf($message, ...$args); //* @phpstan-ignore argument.type (...$args could contain items that sprintf can't handle) | |
| 83 | + $cellReference = implode(' -> ', $this->cellStack->showStack()); //* @phpstan-ignore argument.type (showStack can return array<mixed> not array<string>) | |
| 84 | 84 | if ($this->echoDebugLog) { |
| 85 | 85 | echo $cellReference, |
| 86 | 86 | ($this->cellStack->count() > 0 ? ' => ' : ''), |
| 87 | 87 | $message, |