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_foreach/Test.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/functional/test_foreach') diff --git a/tests/functional/test_foreach/Test.php b/tests/functional/test_foreach/Test.php index 3f8cc73..2fc3d91 100644 --- a/tests/functional/test_foreach/Test.php +++ b/tests/functional/test_foreach/Test.php @@ -14,10 +14,10 @@ class Test extends BaseTest protected function setUpSte(STECore $ste): void { - $ste->vars["foo"] = array( - "a" => array("a" => 100, "b" => 200), - "b" => array("a" => 1, "b" => 2), - "c" => array("a" => 42, "b" => 1337) - ); + $ste->vars["foo"] = [ + "a" => ["a" => 100, "b" => 200], + "b" => ["a" => 1, "b" => 2], + "c" => ["a" => 42, "b" => 1337] + ]; } } -- cgit v1.2.3-54-g00ecf