You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using version "zizaco/confide": "~4.0@dev" and ran the php artisan confide:controller command. Aside from having to fix references to my namespaces I see that all calls on the Confide class are made statically, e.g. Confide::logAttempt( ) But the Confide class doesn't even have any static methods, and thus the below error is thrown:
Non-static method Zizaco\Confide\Confide::logAttempt() should not be called statically, assuming $this from incompatible context
How can we fix this and still utilize the functions in Confide? Do we need to create an instance for this? Or should the methods be made static?
The text was updated successfully, but these errors were encountered:
I'm using version
"zizaco/confide": "~4.0@dev"
and ran thephp artisan confide:controller
command. Aside from having to fix references to my namespaces I see that all calls on theConfide
class are made statically, e.g.Confide::logAttempt( )
But theConfide
class doesn't even have any static methods, and thus the below error is thrown:Non-static method Zizaco\Confide\Confide::logAttempt() should not be called statically, assuming $this from incompatible context
How can we fix this and still utilize the functions in
Confide
? Do we need to create an instance for this? Or should the methods be made static?The text was updated successfully, but these errors were encountered: