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_array/Test.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tests/functional/test_array') diff --git a/tests/functional/test_array/Test.php b/tests/functional/test_array/Test.php index 58f0cb8..85d0217 100644 --- a/tests/functional/test_array/Test.php +++ b/tests/functional/test_array/Test.php @@ -14,14 +14,14 @@ class Test extends BaseTest protected function setUpSte(STECore $ste): void { - $ste->vars["foo"] = array( - "a" => array( + $ste->vars["foo"] = [ + "a" => [ "blabla" => "OK" - ), + ], "b" => "bla" - ); - $ste->vars["bar"] = array( + ]; + $ste->vars["bar"] = [ "baz" => "a" - ); + ]; } } -- cgit v1.2.3-54-g00ecf