diff --git a/src/Appwrite/Hooks/Hooks.php b/src/Appwrite/Hooks/Hooks.php index afd112957c..00d2f5a9e9 100644 --- a/src/Appwrite/Hooks/Hooks.php +++ b/src/Appwrite/Hooks/Hooks.php @@ -7,7 +7,7 @@ class Hooks /** * @var callable[] $hooks */ - static array $hooks = []; + private static array $hooks = []; public static function add(string $name, callable $action) {