Add tag to make code editors recognize the return type ofSingletonTrait::instance()

This commit is contained in:
Giuseppe Criscione 2020-12-17 21:04:55 +01:00
parent 67a57b7561
commit eed737d0ec

View File

@ -15,6 +15,8 @@ trait SingletonTrait
/**
* Return self instance
*
* @return static
*/
public static function instance(): self
{