Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Argument 1 passed to Zizaco\Confide\UserValidator::validate() must be an instance of Zizaco\Confide\ConfideUserInterface, instance of User given, called in C:\xampp\htdocs\tba\laravel\vendor\zizaco\confide\src\Confide\ConfideUser.php on line 64 and defined #493

Closed
Hi7cl4w opened this issue Jan 12, 2015 · 1 comment

Comments

@Hi7cl4w
Copy link

Hi7cl4w commented Jan 12, 2015

    public function validate(ConfideUserInterface $user, $ruleset = 'create')//problem
    {
        // Set the $repo as a ConfideRepository object
@Zizaco
Copy link
Owner

Zizaco commented Jan 31, 2015

The error is clear: Your user model should implement ConfideUserInterface

@Zizaco Zizaco closed this as completed Jan 31, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants