diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2021-06-12 18:24:01 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2021-06-12 18:24:01 +0200 |
commit | 5af89bca3bd17777fae94e681882d6eabf152303 (patch) | |
tree | 29df8d816b0054a70fdf612514a0154b7c174ba0 /includes/admin/views | |
parent | b5c2165f0369391bd2367f2df4a3ee9a903b7eb9 (diff) | |
download | gigologadmin-5af89bca3bd17777fae94e681882d6eabf152303.tar.gz gigologadmin-5af89bca3bd17777fae94e681882d6eabf152303.tar.bz2 gigologadmin-5af89bca3bd17777fae94e681882d6eabf152303.zip |
Fix misc Psalm issues.
Diffstat (limited to 'includes/admin/views')
-rw-r--r-- | includes/admin/views/giglog_admin_page.php | 2 | ||||
-rw-r--r-- | includes/admin/views/giglog_import_gigs.php | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/includes/admin/views/giglog_admin_page.php b/includes/admin/views/giglog_admin_page.php index 6f0b2ba..ab71270 100644 --- a/includes/admin/views/giglog_admin_page.php +++ b/includes/admin/views/giglog_admin_page.php @@ -9,6 +9,8 @@ if ( !class_exists( 'GiglogAdmin_AdminPage' ) ) { require_once __DIR__ . '/../../venue.php'; class GiglogAdmin_AdminPage { + private string $username; + public function __construct() { $this->username = wp_get_current_user()->user_login; diff --git a/includes/admin/views/giglog_import_gigs.php b/includes/admin/views/giglog_import_gigs.php index a8daa3f..aeaf974 100644 --- a/includes/admin/views/giglog_import_gigs.php +++ b/includes/admin/views/giglog_import_gigs.php @@ -51,7 +51,7 @@ if ( !class_exists( 'GiglogAdmin_ImportGigsPage' ) ) { * * @return void * - * @param ArrayAccess|array $file + * @param array<int, mixed> */ static function process_upload(array $file): void { $newconcert= []; |