diff options
author | Laria Carolin Chabowski <laria@laria.me> | 2020-09-13 21:44:30 +0200 |
---|---|---|
committer | Laria Carolin Chabowski <laria@laria.me> | 2020-09-13 21:44:30 +0200 |
commit | 11932a471b4ef10faf76b6fcfe30a35f946eb7ab (patch) | |
tree | cde92c5eceef8991033fe7773ab60da51e289af4 /tests/functional/test_array/Test.php | |
parent | d7d74d0a714f29515da85078cc826ba49d2913b9 (diff) | |
download | ste-11932a471b4ef10faf76b6fcfe30a35f946eb7ab.tar.gz ste-11932a471b4ef10faf76b6fcfe30a35f946eb7ab.tar.bz2 ste-11932a471b4ef10faf76b6fcfe30a35f946eb7ab.zip |
Use short array syntax
We can use it now that we switched to PHP 7.3
Diffstat (limited to 'tests/functional/test_array/Test.php')
-rw-r--r-- | tests/functional/test_array/Test.php | 12 |
1 files changed, 6 insertions, 6 deletions
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" - ); + ]; } } |