summaryrefslogtreecommitdiffstats
path: root/includes/public/shortcodes/giglog_process_files.php
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2021-05-08 19:18:38 +0200
committerHarald Eilertsen <haraldei@anduin.net>2021-05-08 19:18:38 +0200
commit4977a733b6f614de868fc405b820d5c66e5bf9b7 (patch)
treefb033d693061bc22d069aa591e9dadf94c2a54b2 /includes/public/shortcodes/giglog_process_files.php
parent22397366614e9d80eed49d28994c5801e8821d27 (diff)
downloadgigologadmin-4977a733b6f614de868fc405b820d5c66e5bf9b7.tar.gz
gigologadmin-4977a733b6f614de868fc405b820d5c66e5bf9b7.tar.bz2
gigologadmin-4977a733b6f614de868fc405b820d5c66e5bf9b7.zip
Auto fixup missing return types by Psalm
Diffstat (limited to 'includes/public/shortcodes/giglog_process_files.php')
-rw-r--r--includes/public/shortcodes/giglog_process_files.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/public/shortcodes/giglog_process_files.php b/includes/public/shortcodes/giglog_process_files.php
index 9dc2ec0..9443cda 100644
--- a/includes/public/shortcodes/giglog_process_files.php
+++ b/includes/public/shortcodes/giglog_process_files.php
@@ -9,7 +9,7 @@
* Band Venue Date TicketLink Eventlink. The form is at the end of this snippet
*/
-function giglogadmin_upload_files() {
+function giglogadmin_upload_files(): string {
global $wpdb;
$output = "";
$dir = wp_upload_dir()['basedir'].'/concertlists/'; //the basedir is from file uploader plugin, namely the uploads folder in which I created a concertlist folder