summaryrefslogtreecommitdiff
path: root/src/ste/STEStandardLibrary.php
diff options
context:
space:
mode:
authorLaria Carolin Chabowski <laria@laria.me>2020-09-13 21:44:30 +0200
committerLaria Carolin Chabowski <laria@laria.me>2020-09-13 21:44:30 +0200
commit11932a471b4ef10faf76b6fcfe30a35f946eb7ab (patch)
treecde92c5eceef8991033fe7773ab60da51e289af4 /src/ste/STEStandardLibrary.php
parentd7d74d0a714f29515da85078cc826ba49d2913b9 (diff)
downloadste-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 'src/ste/STEStandardLibrary.php')
-rw-r--r--src/ste/STEStandardLibrary.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ste/STEStandardLibrary.php b/src/ste/STEStandardLibrary.php
index fcd1cd2..7191718 100644
--- a/src/ste/STEStandardLibrary.php
+++ b/src/ste/STEStandardLibrary.php
@@ -8,7 +8,7 @@ class STEStandardLibrary
{
foreach (get_class_methods(__CLASS__) as $method) {
if ($method[0] != "_") {
- $ste->register_tag($method, array(__CLASS__, $method));
+ $ste->register_tag($method, [__CLASS__, $method]);
}
}
}