We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7933c5b commit b5784afCopy full SHA for b5784af
src/Auth/Concerns/WithAuthentication.php
@@ -2,7 +2,7 @@
2
3
namespace Foxws\WireUse\Auth\Concerns;
4
5
-use Illuminate\Foundation\Auth\User;
+use Illuminate\Contracts\Auth\Authenticatable;
6
use Illuminate\Support\Facades\Auth;
7
8
trait WithAuthentication
@@ -17,7 +17,7 @@ protected function getAuthId(): int|string|null
17
return Auth::id();
18
}
19
20
- protected function getAuthModel(): ?User
+ protected function getAuthModel(): ?Authenticatable
21
{
22
return Auth::getUser();
23
0 commit comments