summaryrefslogtreecommitdiffstats
path: root/includes/admin/views
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2022-03-09 22:34:19 +0100
committerHarald Eilertsen <haraldei@anduin.net>2022-03-09 22:34:19 +0100
commit7c90df61ab235bc36bcf0398a39225bbf5ee8ae5 (patch)
treea9ac116b8797111a0b8e4c1c2c04e299def99d32 /includes/admin/views
parentc2c053d542f98d90119baf60371138ec5f530161 (diff)
downloadgigologadmin-7c90df61ab235bc36bcf0398a39225bbf5ee8ae5.tar.gz
gigologadmin-7c90df61ab235bc36bcf0398a39225bbf5ee8ae5.tar.bz2
gigologadmin-7c90df61ab235bc36bcf0398a39225bbf5ee8ae5.zip
Fix more psalm issues
Diffstat (limited to 'includes/admin/views')
-rw-r--r--includes/admin/views/_concerts_table.php2
-rw-r--r--includes/admin/views/_edit_concert_form.php2
-rw-r--r--includes/admin/views/giglog_import_gigs.php2
3 files changed, 5 insertions, 1 deletions
diff --git a/includes/admin/views/_concerts_table.php b/includes/admin/views/_concerts_table.php
index 091bf83..2d1ed04 100644
--- a/includes/admin/views/_concerts_table.php
+++ b/includes/admin/views/_concerts_table.php
@@ -4,6 +4,8 @@
//
// SPDX-License-Identifier: AGPL-3.0-or-later
+require_once __DIR__ . '/../../view-helpers/select_field.php';
+
if (!class_exists("GiglogAdmin_ConcertsTable"))
{
class GiglogAdmin_ConcertsTable
diff --git a/includes/admin/views/_edit_concert_form.php b/includes/admin/views/_edit_concert_form.php
index d17ef2d..c7675f0 100644
--- a/includes/admin/views/_edit_concert_form.php
+++ b/includes/admin/views/_edit_concert_form.php
@@ -4,6 +4,8 @@
//
// SPDX-License-Identifier: AGPL-3.0-or-later
+require_once __DIR__ . '/../../view-helpers/select_field.php';
+
if (!class_exists("GiglogAdmin_EditConcertForm"))
{
class GiglogAdmin_EditConcertForm
diff --git a/includes/admin/views/giglog_import_gigs.php b/includes/admin/views/giglog_import_gigs.php
index ed6f978..afcc632 100644
--- a/includes/admin/views/giglog_import_gigs.php
+++ b/includes/admin/views/giglog_import_gigs.php
@@ -53,7 +53,7 @@ if ( !class_exists( 'GiglogAdmin_ImportGigsPage' ) ) {
*
* @return void
*
- * @param array<mixed>
+ * @param array<int, mixed> $file
*/
static function process_upload(array $file): void {
global $wpdb;