From 66cdf2c089af5b38d5e8ff1e10b6d80e039e44a1 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 28 Apr 2016 18:07:54 +0000 Subject: [PATCH] add missing public static --- api/src/Hooks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Hooks.php b/api/src/Hooks.php index fd83106d06..06d1de1fc3 100644 --- a/api/src/Hooks.php +++ b/api/src/Hooks.php @@ -166,7 +166,7 @@ class Hooks * @param string $location location-name * @return int the number of found hooks */ - function count($location) + public static function count($location) { if (!isset(self::$locations)) self::read();