confide laravel Declaration of Zizaco\Confide\ConfideUser::save() should be compatible with Arde

StackOverflow https://stackoverflow.com/questions/17709310

  •  03-06-2022
  •  | 
  •  

Question

I've modified upon the excellent Laravel 4 bootstrap and suddenly I am getting the error when I go to the route user/login:

Declaration of Zizaco\Confide\ConfideUser::save() should be compatible with
LaravelBook\Ardent\Ardent::save(array $rules = Array, array $customMessages = Array, 
array $options = Array, Closure $beforeSave = NULL, Closure 
$afterSave = NULL, $force = false)

I had added HybridAuth to composer and updated so I wonder if that had caused incompatibility issues with Confide or Ardent but when I remove it and update (as well as reverting to previous commits) I still get the error.

Any ideas?

Thanks a lot

Jon.

Was it helpful?

Solution

Ardent has added an additional $force parameter to their save() method.

The solution, for now, is to require a specific commit in your composer file:

    "laravelbook/ardent": "dev-master#2d1d70ea835b8c53cfe4fc60315a8ee5c672ba19"

You can follow the discussion in issue #113 on GitHub.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top