Skip to content

Commit 6159b09

Browse files
author
Wazabii
committed
Minor
1 parent ba6c97e commit 6159b09

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Interfaces/RoleInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function getPermission(int $roleKey): object;
4343
* List all currently supported roles
4444
* @return array
4545
*/
46-
public function getSupportedRoles(): array;
46+
public static function getSupportedRoles(): array;
4747

4848
/**
4949
* Check if the current user has the "right" permission

Role.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public function getPermission(int $roleKey): object
9898
* List all currently supported roles
9999
* @return array
100100
*/
101-
public function getSupportedRoles(): array
101+
public static function getSupportedRoles(): array
102102
{
103103
return static::ROLES;
104104
}

0 commit comments

Comments
 (0)