Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
drbyte authored and github-actions[bot] committed Jan 30, 2025
1 parent 3cea227 commit f9f8c23
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
1 change: 0 additions & 1 deletion config/permission.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@

'teams' => false,


/*
* The class to use to resolve the permissions team id
*/
Expand Down
5 changes: 1 addition & 4 deletions src/Contracts/PermissionsTeamResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@

interface PermissionsTeamResolver
{
/**
* @return int|string|null
*/
public function getPermissionsTeamId() : int|string|null;
public function getPermissionsTeamId(): int|string|null;

/**
* Set the team id for teams/groups support, this id is used when querying permissions/roles
Expand Down
5 changes: 1 addition & 4 deletions src/DefaultTeamResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@ public function setPermissionsTeamId($id): void
$this->teamId = $id;
}

/**
* @return int|string|null
*/
public function getPermissionsTeamId() : int|string|null
public function getPermissionsTeamId(): int|string|null
{
return $this->teamId;
}
Expand Down

0 comments on commit f9f8c23

Please sign in to comment.