Compare commits
2 Commits
0eb8eb2800
...
develop
Author | SHA1 | Date | |
---|---|---|---|
a9b235d3e1 | |||
237cca1287 |
@ -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();
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
|
"nesbot/carbon": "^2.45"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "^8"
|
"phpunit/phpunit": "^8"
|
||||||
|
Reference in New Issue
Block a user