Update src/PhpSpreadsheet/Writer/Html.php

Co-authored-by: Adrien Crivelli <adrien.crivelli@gmail.com>
This commit is contained in:
oleibman 2020-05-31 10:56:27 -07:00 committed by GitHub
parent 7e87a9f8d8
commit 32b01148f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -197,9 +197,9 @@ class Html extends BaseWriter
// Write footer // Write footer
$html .= $this->generateHTMLFooter(); $html .= $this->generateHTMLFooter();
$cbk = $this->editHtmlCallback; $callback = $this->editHtmlCallback;
if ($cbk) { if ($callback) {
$html = $cbk($html); $html = $callback($html);
} }
Calculation::setArrayReturnType($saveArrayReturnType); Calculation::setArrayReturnType($saveArrayReturnType);