mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-06-05 22:09:38 +02:00
Miglioramento della documentazione automatica
Miglioramento del processo di documentazione automatica per il branch gh-pages, con generalizzazione della struttura della classe Auth. Aggiunto sistema per la formattazione automatica del codice sfruttanto PHP CS Fixer (https://github.com/FriendsOfPHP/PHP-CS-Fixer).
This commit is contained in:
@@ -34,7 +34,7 @@ class API extends \Util\Singleton
|
||||
|
||||
public function __construct($token)
|
||||
{
|
||||
$user = Auth::getUser();
|
||||
$user = Auth::user();
|
||||
|
||||
if (!self::isAPIRequest() || empty($user)) {
|
||||
throw new InvalidArgumentException();
|
||||
|
Reference in New Issue
Block a user