From caa5c4e744380c9e6e65321f20e1726dff968845 Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Mon, 18 Dec 2023 10:20:00 +0000 Subject: [PATCH] making visibility private --- src/Appwrite/Hooks/Hooks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {