Skip to content

Commit

Permalink
(auto): apply php-cs-fixer changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ictbeheer committed Aug 7, 2024
1 parent a9d5d6c commit 4c9cf2f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/UserRoles.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ private function setRolesForSite(): void
$this->addCustomRoles();
}

private function removeCurrentCustomRoles(): void {
private function removeCurrentCustomRoles(): void
{
$prefix = config('user-roles.prefix');
$currentCustomRoles = \wp_roles()->roles;
$currentCustomRoles = array_filter(
Expand All @@ -49,7 +50,8 @@ private function removeCurrentCustomRoles(): void {
}
}

private function addCustomRoles(): void {
private function addCustomRoles(): void
{
$prefix = config('user-roles.prefix');
$roles = config('user-roles.roles');
Assert::isArray($roles);
Expand Down

0 comments on commit 4c9cf2f

Please sign in to comment.