You are here
5.2 使用 entrust 后 报错 ErrorException in User.php line 11: Declaration of App\User::can() should be compatible with Illuminate\Foundation\Auth\User::can($ability, $arguments = Array)
星期五, 2017-04-28 10:16 — adminshiping1
![](/sites/default/files/u1/2017/04/1_20170428101539_48942b3bf26133e464846d9da3f4d4de.png)
是因为你没用intent or
你自己看下gihub,里面有答案