diff --git a/main/cron/import_csv.php b/main/cron/import_csv.php index 86b799ae07..2911e27430 100644 --- a/main/cron/import_csv.php +++ b/main/cron/import_csv.php @@ -650,6 +650,9 @@ class ImportCsv } } + /** + * Dump database tables + */ private function dumpDatabaseTables() { echo 'Dumping tables'.PHP_EOL; diff --git a/main/inc/lib/export.lib.inc.php b/main/inc/lib/export.lib.inc.php index 554c67884f..454b823e11 100644 --- a/main/inc/lib/export.lib.inc.php +++ b/main/inc/lib/export.lib.inc.php @@ -181,8 +181,13 @@ class Export { $pdf = new PDF($params['format'], $params['orientation'], $params); $pdf->html_to_pdf_with_template($table_html); } - - public static function export_html_to_pdf($html, $params = array()) { + + /** + * @param string $html + * @param array $params + */ + public static function export_html_to_pdf($html, $params = array()) + { $params['format'] = isset($params['format']) ? $params['format'] : 'A4'; $params['orientation'] = isset($params['orientation']) ? $params['orientation'] : 'P';