The full error:
Whoops\Exception\ErrorException : Trait method credentials has not been applied, because there are collisions with other trait methods on Laravel\Spark\Http\Controllers\Auth\PasswordController
at /home/vagrant/code/vendor/laravel/spark-aurelius/src/Http/Controllers/Auth/PasswordController.php:11
7| use Laravel\Spark\Http\Controllers\Controller;
8| use Illuminate\Foundation\Auth\ResetsPasswords;
9| use Illuminate\Foundation\Auth\SendsPasswordResetEmails;
10|
> 11| class PasswordController extends Controller
12| {
13| use SendsPasswordResetEmails, ResetsPasswords {
14| SendsPasswordResetEmails::broker insteadof ResetsPasswords;
15| }
This is weird because I haven't changed the spark package in a while. This error happens when I run
php artisan route:list
This was not happening yesterday. Rolled back to yesterday's commit to see what happened. This issue remains...
When I comment out the crendentials function on either of the traits listed in the error, route:list works just fine. But I obviously don't want to modify vendor packages, so what else might be causing this?
I did a full project search, and the function credentials only appears in these two traits and AuthenticatesUsers.