From 2c69095a1edf7474073451285238659d0f62ce3f Mon Sep 17 00:00:00 2001 From: Appleman1234 Date: Sun, 25 Sep 2022 13:30:13 +1000 Subject: PHP8.1 fixes from Rector --- tools/inc/cli.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'tools/inc/cli.php') diff --git a/tools/inc/cli.php b/tools/inc/cli.php index b04d042a..4b8e3793 100644 --- a/tools/inc/cli.php +++ b/tools/inc/cli.php @@ -40,11 +40,6 @@ putenv('TINYBOARD_PATH=' . getcwd()); require 'inc/bootstrap.php'; -$mod = Array( - 'id' => -1, - 'type' => ADMIN, - 'username' => '?', - 'boards' => Array('*') -); +$mod = ['id' => -1, 'type' => ADMIN, 'username' => '?', 'boards' => ['*']]; -- cgit v1.3