Skip to content

Commit

Permalink
Fix typecast of title
Browse files Browse the repository at this point in the history
  • Loading branch information
doekenorg committed Sep 2, 2024
1 parent cc3d645 commit 9259e44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"overtrue/phplint": "^2.1"
},
"scripts": {
"unbuild": "rm -rf build/composer.* build/vendor build/src",
"unbuild": "rm -rf build/composer.* build/vendor*/* build/src",
"build": [
"@unbuild",
"cp composer.json build/composer.json",
Expand Down
2 changes: 1 addition & 1 deletion src/Renderer/PHPExcelRenderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ private function setTitle( $title ) {
);

$this->setWorksheetTitle( $this->worksheet, $this->form );
$this->spreadsheet->getProperties()->setTitle( $title );
$this->spreadsheet->getProperties()->setTitle( (string) $title );

return $this;
}
Expand Down

0 comments on commit 9259e44

Please sign in to comment.