aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/HookHelper.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/HookHelper.php')
-rw-r--r--tests/lib/HookHelper.php24
1 files changed, 12 insertions, 12 deletions
diff --git a/tests/lib/HookHelper.php b/tests/lib/HookHelper.php
index f1cce831477..5e040724d90 100644
--- a/tests/lib/HookHelper.php
+++ b/tests/lib/HookHelper.php
@@ -62,45 +62,45 @@ class HookHelper {
}
public static function createCallback($params) {
- self::$hookCalls[] = array(
+ self::$hookCalls[] = [
'signal' => Filesystem::signal_create,
'params' => $params
- );
+ ];
}
public static function updateCallback($params) {
- self::$hookCalls[] = array(
+ self::$hookCalls[] = [
'signal' => Filesystem::signal_update,
'params' => $params
- );
+ ];
}
public static function writeCallback($params) {
- self::$hookCalls[] = array(
+ self::$hookCalls[] = [
'signal' => Filesystem::signal_write,
'params' => $params
- );
+ ];
}
public static function postCreateCallback($params) {
- self::$hookCalls[] = array(
+ self::$hookCalls[] = [
'signal' => Filesystem::signal_post_create,
'params' => $params
- );
+ ];
}
public static function postUpdateCallback($params) {
- self::$hookCalls[] = array(
+ self::$hookCalls[] = [
'signal' => Filesystem::signal_post_update,
'params' => $params
- );
+ ];
}
public static function postWriteCallback($params) {
- self::$hookCalls[] = array(
+ self::$hookCalls[] = [
'signal' => Filesystem::signal_post_write,
'params' => $params
- );
+ ];
}
/**