Skip to content

Commit 0c459cb

Browse files
authored
Merge pull request #4674 from oleibman/stan20251001
Phpstan Update
2 parents 228bbed + 14ad63c commit 0c459cb

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

composer.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/PhpSpreadsheet/Reader/Slk.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,9 @@ protected function loadSpreadsheetFromFile(string $filename): Spreadsheet
173173
'U' => 'underline',
174174
];
175175

176+
/**
177+
* @param-out true $hasCalculatedValue
178+
*/
176179
private function processFormula(string $rowDatum, bool &$hasCalculatedValue, string &$cellDataFormula, string $row, string $column): void
177180
{
178181
$cellDataFormula = '=' . substr($rowDatum, 1);

src/PhpSpreadsheet/Writer/Xlsx/Style.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,9 @@ private function writePatternFill(XMLWriter $objWriter, Fill $fill): void
272272
$objWriter->endElement();
273273
}
274274

275+
/**
276+
* @param-out true $fontStarted
277+
*/
275278
private function startFont(XMLWriter $objWriter, bool &$fontStarted): void
276279
{
277280
if (!$fontStarted) {

0 commit comments

Comments
 (0)