From 07f66e0cbe9247e953e78d9b7f06519ff09385d1 Mon Sep 17 00:00:00 2001 From: mattab Date: Tue, 15 Oct 2013 13:11:31 +1300 Subject: Type hint for Singleton Enabling All plugins during tests --- core/EventDispatcher.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/EventDispatcher.php') diff --git a/core/EventDispatcher.php b/core/EventDispatcher.php index c57cea990e..642aaee3f7 100644 --- a/core/EventDispatcher.php +++ b/core/EventDispatcher.php @@ -16,6 +16,8 @@ use Piwik\Plugin; /** * This class allows code to post events from anywhere in Piwik and for * plugins to associate callbacks to be executed when events are posted. + * + * @method \Piwik\EventDispatcher getInstance() */ class EventDispatcher extends Singleton { -- cgit v1.2.3