mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-12-04 12:47:55 +08:00
Added return type
This commit is contained in:
parent
252af0d828
commit
f7eedf1002
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user