Fix phpcs
This commit is contained in:
parent
b7cf070d2d
commit
6331290056
@ -44,6 +44,8 @@ class DolibarrApiAccess implements iAuthenticate
|
||||
*/
|
||||
public static $user = '';
|
||||
|
||||
// @codingStandardsIgnoreStart
|
||||
|
||||
/**
|
||||
* Check access
|
||||
*
|
||||
@ -106,7 +108,6 @@ class DolibarrApiAccess implements iAuthenticate
|
||||
return in_array(static::$role, (array) static::$requires) || static::$role == 'admin';
|
||||
}
|
||||
|
||||
// @codingStandardsIgnoreStart
|
||||
/**
|
||||
* @return string string to be used with WWW-Authenticate header
|
||||
* @example Basic
|
||||
|
||||
Loading…
Reference in New Issue
Block a user