Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/classes/Plugins/Schema/Pdf/PdfRelationSchema.php')
-rw-r--r--libraries/classes/Plugins/Schema/Pdf/PdfRelationSchema.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/classes/Plugins/Schema/Pdf/PdfRelationSchema.php b/libraries/classes/Plugins/Schema/Pdf/PdfRelationSchema.php
index d927bb2079..198192eeb5 100644
--- a/libraries/classes/Plugins/Schema/Pdf/PdfRelationSchema.php
+++ b/libraries/classes/Plugins/Schema/Pdf/PdfRelationSchema.php
@@ -316,11 +316,11 @@ class PdfRelationSchema extends ExportRelationSchema
}
/**
- * Output Pdf Document for download
+ * @return array{fileName: non-empty-string, fileData: string}
*/
- public function showOutput(): void
+ public function getExportInfo(): array
{
- $this->diagram->download($this->getFileName('.pdf'));
+ return ['fileName' => $this->getFileName('.pdf'), 'fileData' => $this->diagram->getOutputData()];
}
/**