summaryrefslogtreecommitdiffstats
path: root/includes/public/shortcodes/giglog_display_unprocessed.php
diff options
context:
space:
mode:
authorAndreaChirulescu <andrea.chirulescu@gmail.com>2021-05-09 21:58:23 +0200
committerAndreaChirulescu <andrea.chirulescu@gmail.com>2021-05-09 21:58:23 +0200
commit11570d3e87707396674bdf5179df48c641bb154d (patch)
tree5c4677689569dbece70de222d1869b4049698f6d /includes/public/shortcodes/giglog_display_unprocessed.php
parentcfc0341c66e5c24ee4c1b8a8e53afac99587244b (diff)
parent142ff436282844677b8b4e7d8ececd44440ec96d (diff)
downloadgigologadmin-11570d3e87707396674bdf5179df48c641bb154d.tar.gz
gigologadmin-11570d3e87707396674bdf5179df48c641bb154d.tar.bz2
gigologadmin-11570d3e87707396674bdf5179df48c641bb154d.zip
Tried to fix the psalm local changes done when I manually installed it
Diffstat (limited to 'includes/public/shortcodes/giglog_display_unprocessed.php')
-rw-r--r--includes/public/shortcodes/giglog_display_unprocessed.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/public/shortcodes/giglog_display_unprocessed.php b/includes/public/shortcodes/giglog_display_unprocessed.php
index aa3596c..90ef69f 100644
--- a/includes/public/shortcodes/giglog_display_unprocessed.php
+++ b/includes/public/shortcodes/giglog_display_unprocessed.php
@@ -16,7 +16,7 @@
* gone through the processing process - aka fetching each line and
* transforming it into a concert line
*/
-function giglogadmin_getunprocessed()
+function giglogadmin_getunprocessed(): string
{
global $wpdb;
@@ -42,7 +42,7 @@ function giglogadmin_getunprocessed()
* venue exists. If they don't, they get created, if they do, their ID from
* their table is fetchd and used in concerts table
*/
-function giglogadmin_insertconcerts()
+function giglogadmin_insertconcerts(): string
{
global $wpdb;
$concertlist = '<p>Inserted the following:</p>';
@@ -128,7 +128,7 @@ function giglogadmin_insertconcerts()
return $concertlist;
}
-function giglogadmin_display_unprocessed() {
+function giglogadmin_display_unprocessed(): string {
$output = giglogadmin_getunprocessed();
$output .= '<form method="POST" action=""><input type="submit" name="ProcessConcerts" value="ProcessConcerts"/></form>';