Skip to content
Snippets Groups Projects
Commit b7cf070d authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix phpcs

parent 43ed4889
Branches
Tags
No related merge requests found
......@@ -50,7 +50,7 @@ class DolibarrApiAccess implements iAuthenticate
* @return bool
* @throws RestException
*/
public function __isAllowed()
public function _isAllowed()
{
global $db;
......@@ -113,7 +113,7 @@ class DolibarrApiAccess implements iAuthenticate
* @example Digest
* @example OAuth
*/
public function __getWWWAuthenticateString()
public function _getWWWAuthenticateString()
{
return '';
}
......
......@@ -48,7 +48,7 @@ if (empty($conf->global->MAIN_MODULE_API))
}
use \Luracast\Restler\Defaults;
Defaults::setProperty('authenticationMethod','__isAllowed');
Defaults::setProperty('authenticationMethod','_isAllowed');
$api = new DolibarrApi($db);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment