Added return type

This commit is contained in:
huangzhhui 2019-02-05 14:34:36 +08:00
parent 252af0d828
commit f7eedf1002

View File

@ -69,10 +69,8 @@ class Register
/**
* Get the event dispatcher instance.
*
* @return EventDispatcherInterface
*/
public static function getEventDispatcher()
public static function getEventDispatcher(): EventDispatcherInterface
{
return static::$dispatcher;
}