Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Raue <christian.raue@gmail.com>2014-07-10 17:45:54 +0400
committerChristian Raue <christian.raue@gmail.com>2014-07-15 14:16:49 +0400
commit317bd7e175f04e09cfb6b42f4a282068524df4e0 (patch)
tree2a6c8bc07bc806229bb7f8dc035198e745b34efb /core/WidgetsList.php
parentf6de9efc06b11e067fe4f866377a94996628f796 (diff)
fixed method signatures
Diffstat (limited to 'core/WidgetsList.php')
-rw-r--r--core/WidgetsList.php8
1 files changed, 4 insertions, 4 deletions
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) {