diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2021-05-08 20:50:39 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2021-05-08 20:55:59 +0200 |
commit | 30f12e61317d9b181efb46382a4db98d73f65954 (patch) | |
tree | f98c5695836a8d04367a7a1969b12903402f7d7b /includes/admin/views/giglog_import_gigs.php | |
parent | 88de0f55d7499009f0f316262757e70385d43ce5 (diff) | |
download | gigologadmin-30f12e61317d9b181efb46382a4db98d73f65954.tar.gz gigologadmin-30f12e61317d9b181efb46382a4db98d73f65954.tar.bz2 gigologadmin-30f12e61317d9b181efb46382a4db98d73f65954.zip |
Autofixes by Psalm
Diffstat (limited to 'includes/admin/views/giglog_import_gigs.php')
-rw-r--r-- | includes/admin/views/giglog_import_gigs.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/includes/admin/views/giglog_import_gigs.php b/includes/admin/views/giglog_import_gigs.php index badd678..0e7406f 100644 --- a/includes/admin/views/giglog_import_gigs.php +++ b/includes/admin/views/giglog_import_gigs.php @@ -50,8 +50,10 @@ if ( !class_exists( 'GiglogAdmin_ImportGigsPage' ) ) { * Empty lines are ignored. * * @return void + * + * @param ArrayAccess|array $file */ - static function process_upload($file): void { + static function process_upload(array $file): void { $newconcert= []; $fo = new SplFileObject($file['tmp_name']); |