From 62bad03e2524896e7864b3fc4e5d085c01fae476 Mon Sep 17 00:00:00 2001 From: greezen Date: Wed, 30 Oct 2024 16:36:44 +0800 Subject: [PATCH] pref: set socpe method with static (#730) --- src/model-hashids/src/Concerns/HasHashid.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/model-hashids/src/Concerns/HasHashid.php b/src/model-hashids/src/Concerns/HasHashid.php index 33d23ce4e..56e49d6b3 100644 --- a/src/model-hashids/src/Concerns/HasHashid.php +++ b/src/model-hashids/src/Concerns/HasHashid.php @@ -17,8 +17,8 @@ use function Hyperf\Config\config; /** - * @method Model|null findByHashid($hashid) - * @method Model findByHashidOrFail($hashid) + * @method static Model|null findByHashid($hashid) + * @method static Model findByHashidOrFail($hashid) */ trait HasHashid {