[bug] larastan access to an undefined property $token
wit3 opened this issue · comments
Describe the bug
If i run larastan (phpstan) the stub action createConnectedAcccount try to set $token
Line app/Actions/Socialstream/CreateConnectedAccount.php
------ ---------------------------------------------------------------------------
29 Access to an undefined property Laravel\Socialite\Contracts\User::$token.
But the abstract user doesn't implent this property.
Environment context
- Socialstream version: v3.5.0
- Jetstream stack: Livewire
- Laravel version: 9.21.0
- PHP version: 8.1.7
Unfortunately this is a side effect of using Laravel Socialite. The $token
property is found on the OAuth One user in Socialites code