ollieread / multiauth

Laravel multi auth
441 stars 109 forks source link

Mockery unable to mock Auth #117

Closed LMS94 closed 6 years ago

LMS94 commented 8 years ago

When mocking the Auth facade in laravel with mockery, I received the following error

ErrorException: Declaration of Mockery_5_Ollieread_Multiauth_MultiManager::call() should be compatible with Ollieread\Multiauth\MultiManager::call($name, $arguments = Array)

Since the arguments in the __call() method isn't used, we can remove the default value.