Accessing id on the interface Illuminate\Contracts\Auth\Authenticatable suggest that you code against a concrete implementation. How about adding an instanceof check?
Loading history...
29
]);
30
}
31
32
/**
33
* Get the validation rules that apply to the request.