FIX: static property

This commit is contained in:
2021-02-09 17:37:58 -03:00
parent 237cca1287
commit a9b235d3e1

View File

@ -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();