From eed737d0ec6a63f4c8af664a5e684d0b74cc1649 Mon Sep 17 00:00:00 2001 From: Giuseppe Criscione <18699708+giuscris@users.noreply.github.com> Date: Thu, 17 Dec 2020 21:04:55 +0100 Subject: [PATCH] Add tag to make code editors recognize the return type of`SingletonTrait::instance()` --- formwork/src/Traits/SingletonTrait.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/formwork/src/Traits/SingletonTrait.php b/formwork/src/Traits/SingletonTrait.php index 74bf6b98..cbde8860 100644 --- a/formwork/src/Traits/SingletonTrait.php +++ b/formwork/src/Traits/SingletonTrait.php @@ -15,6 +15,8 @@ trait SingletonTrait /** * Return self instance + * + * @return static */ public static function instance(): self {