Fixed code style according to PSR-2
This commit is contained in:
parent
a5f5b44798
commit
cb275d3e3b
1 changed files with 10 additions and 10 deletions
|
@ -26,7 +26,7 @@ class UserClass
|
||||||
*/
|
*/
|
||||||
public $abilities = [];
|
public $abilities = [];
|
||||||
|
|
||||||
public function __construct(string $name, string $parent=null, array $abilities=[])
|
public function __construct(string $name, string $parent = null, array $abilities = [])
|
||||||
{
|
{
|
||||||
global $_shm_user_classes;
|
global $_shm_user_classes;
|
||||||
|
|
||||||
|
@ -189,7 +189,8 @@ new UserClass("user", "base", [
|
||||||
Permissions::READ_PM => true,
|
Permissions::READ_PM => true,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
new UserClass("admin", "base", [ Permissions::CHANGE_SETTING => true,
|
new UserClass("admin", "base", [
|
||||||
|
Permissions::CHANGE_SETTING => true,
|
||||||
Permissions::OVERRIDE_CONFIG => true,
|
Permissions::OVERRIDE_CONFIG => true,
|
||||||
Permissions::BIG_SEARCH => true,
|
Permissions::BIG_SEARCH => true,
|
||||||
|
|
||||||
|
@ -279,7 +280,6 @@ new UserClass("admin", "base", [ Permissions::CHANGE_SETTING => true,
|
||||||
|
|
||||||
Permissions::APPROVE_IMAGE => true,
|
Permissions::APPROVE_IMAGE => true,
|
||||||
Permissions::APPROVE_COMMENT => true,
|
Permissions::APPROVE_COMMENT => true,
|
||||||
|
|
||||||
]);
|
]);
|
||||||
|
|
||||||
new UserClass("hellbanned", "user", [
|
new UserClass("hellbanned", "user", [
|
||||||
|
|
Reference in a new issue