Skip to content

Commit e44031e

Browse files
committed
fix: naming of method
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
1 parent f2b22ec commit e44031e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Service/SlideDeckService.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function generateSlideDeck(?string $userId, string $presentationText) {
4343

4444
$ooxml = $this->config->getAppValue(Application::APPNAME, 'doc_format', '') === 'ooxml';
4545
$format = $ooxml ? 'pptx' : 'odp';
46-
$emptyPresentation = $this->getBlankSpreadsheet($format);
46+
$emptyPresentation = $this->getBlankPresentation($format);
4747

4848
try {
4949
$parsedStructure = $this->parseModelJSON($rawModelOutput);
@@ -107,7 +107,7 @@ private function parseModelJSON(string $jsonString): array {
107107
* @param string $format
108108
* @return resource
109109
*/
110-
private function getBlankSpreadsheet(string $format) {
110+
private function getBlankPresentation(string $format) {
111111
$emptyPresentationContent = $this->templateManager->getEmptyFileContent($format);
112112
$memoryStream = fopen('php://memory', 'r+');
113113

0 commit comments

Comments
 (0)