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