Compare commits

...

2 Commits

Author SHA1 Message Date
a9b235d3e1 FIX: static property 2021-02-09 17:37:58 -03:00
237cca1287 Added Carbon to dependencies 2021-02-09 17:37:42 -03:00
2 changed files with 2 additions and 1 deletions

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

View File

@ -10,6 +10,7 @@
} }
], ],
"require": { "require": {
"nesbot/carbon": "^2.45"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "^8" "phpunit/phpunit": "^8"