FIX: static property
This commit is contained in:
@ -9,7 +9,7 @@ class Auth
|
|||||||
{
|
{
|
||||||
return new AuthService();
|
return new AuthService();
|
||||||
}
|
}
|
||||||
protected $instance;
|
protected static $instance;
|
||||||
protected static function getInstance() {
|
protected static function getInstance() {
|
||||||
if (self::$instance === null) {
|
if (self::$instance === null) {
|
||||||
self::$instance = self::newInstance();
|
self::$instance = self::newInstance();
|
||||||
|
Reference in New Issue
Block a user