From 35a39d79afdd56821f906d23168e071e05520fd8 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Thu, 23 Oct 2025 08:18:28 +0800 Subject: [PATCH] Update return type of `Laravel\Jetstream\Jetstream::findRole()` method to nullable --- src/Jetstream.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Jetstream.php b/src/Jetstream.php index 07e7d16df..8362f3ba8 100644 --- a/src/Jetstream.php +++ b/src/Jetstream.php @@ -91,7 +91,7 @@ public static function hasRoles() * Find the role with the given key. * * @param string $key - * @return \Laravel\Jetstream\Role + * @return \Laravel\Jetstream\Role|null */ public static function findRole(string $key) {