嗨,我使用 Cartalyst/Sentinel 登录系统一切正常,但是这个 Reminder::exists($user) 函数给出了这个错误Argument 1 passed to Cartalyst\Sentinel\Reminders\IlluminateReminderRepository::exists() must implement interface cartalyst\Sentinel\Users\UserInterface
代码与他们的示例页面上给出的代码相同。 https://cartalyst.com/manual/sentinel/2.0#reminder-exists-user
$user = Sentinel::findById($credentials);
//dd($user); // this dump user return collection object of user
$reminder = Reminder::exists( $user );