From 11932a471b4ef10faf76b6fcfe30a35f946eb7ab Mon Sep 17 00:00:00 2001 From: Laria Carolin Chabowski Date: Sun, 13 Sep 2020 21:44:30 +0200 Subject: Use short array syntax We can use it now that we switched to PHP 7.3 --- tests/functional/test_trailing_closing_array_bracket/Test.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/functional/test_trailing_closing_array_bracket') diff --git a/tests/functional/test_trailing_closing_array_bracket/Test.php b/tests/functional/test_trailing_closing_array_bracket/Test.php index 9e6ff2c..a24f93c 100644 --- a/tests/functional/test_trailing_closing_array_bracket/Test.php +++ b/tests/functional/test_trailing_closing_array_bracket/Test.php @@ -14,10 +14,10 @@ class Test extends BaseTest protected function setUpSte(STECore $ste): void { - $ste->set_var_by_name("foo", array( + $ste->set_var_by_name("foo", [ "foo", "bar", "baz", - )); + ]); } } -- cgit v1.2.3-70-g09d2