summaryrefslogtreecommitdiffstats
path: root/includes/giglog_visitor_display.php
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2022-06-18 11:38:26 +0200
committerHarald Eilertsen <haraldei@anduin.net>2022-06-18 11:38:26 +0200
commit0e42a12a33b9bb193fa7851628edf018bd922362 (patch)
treef01c0f82d0d8399f9c502d769c8e182e3b6df153 /includes/giglog_visitor_display.php
parentc0ff4d1d2ca7e4226d718bf11a636f431c470fe6 (diff)
downloadgigologadmin-0e42a12a33b9bb193fa7851628edf018bd922362.tar.gz
gigologadmin-0e42a12a33b9bb193fa7851628edf018bd922362.tar.bz2
gigologadmin-0e42a12a33b9bb193fa7851628edf018bd922362.zip
Add phpcs config and do automatic fixups.
Diffstat (limited to 'includes/giglog_visitor_display.php')
-rw-r--r--includes/giglog_visitor_display.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/includes/giglog_visitor_display.php b/includes/giglog_visitor_display.php
index b4742f5..b803bec 100644
--- a/includes/giglog_visitor_display.php
+++ b/includes/giglog_visitor_display.php
@@ -4,11 +4,10 @@
//
// SPDX-License-Identifier: AGPL-3.0-or-later
-function display_giglog() : string
-{
+function display_giglog() : string {
$c = new GiglogAdmin_ConcertsTable();
return $c->render();
}
-add_shortcode('getconcerts', 'display_giglog');
-?>
+add_shortcode( 'getconcerts', 'display_giglog' );
+