From 317bd7e175f04e09cfb6b42f4a282068524df4e0 Mon Sep 17 00:00:00 2001 From: Christian Raue Date: Thu, 10 Jul 2014 15:45:54 +0200 Subject: fixed method signatures --- core/WidgetsList.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'core/WidgetsList.php') diff --git a/core/WidgetsList.php b/core/WidgetsList.php index 9ac66de81b..d155121ddb 100644 --- a/core/WidgetsList.php +++ b/core/WidgetsList.php @@ -61,7 +61,7 @@ class WidgetsList extends Singleton * ) * ``` */ - static public function get() + public static function get() { $cache = self::getCacheForCompleteList(); if (!self::$listCacheToBeInvalidated && $cache->has()) { @@ -168,7 +168,7 @@ class WidgetsList extends Singleton * @param array $customParameters Extra query parameters that should be sent while getting * this report. */ - static public function add($widgetCategory, $widgetName, $controllerName, $controllerAction, $customParameters = array()) + public static function add($widgetCategory, $widgetName, $controllerName, $controllerAction, $customParameters = array()) { $widgetName = Piwik::translate($widgetName); $widgetUniqueId = 'widget' . $controllerName . $controllerAction; @@ -204,7 +204,7 @@ class WidgetsList extends Singleton * translation token. If not supplied, the entire category * will be removed. */ - static public function remove($widgetCategory, $widgetName = false) + public static function remove($widgetCategory, $widgetName = false) { if (!isset(self::$widgets[$widgetCategory])) { return; @@ -231,7 +231,7 @@ class WidgetsList extends Singleton * @param string $controllerAction The controller action of the report. * @return bool */ - static public function isDefined($controllerName, $controllerAction) + public static function isDefined($controllerName, $controllerAction) { $widgetsList = self::get(); foreach ($widgetsList as $widgets) { -- cgit v1.2.3