mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 06:43:45 +02:00
Format files
This commit is contained in:
@@ -19,9 +19,9 @@ class ServerPolicy
|
||||
/**
|
||||
* Checks if the user has the given permission on/for the server.
|
||||
*
|
||||
* @param \Pterodactyl\Models\User $user
|
||||
* @param \Pterodactyl\Models\User $user
|
||||
* @param \Pterodactyl\Models\Server $server
|
||||
* @param string $permission
|
||||
* @param string $permission
|
||||
* @return bool
|
||||
*/
|
||||
protected function checkPermission(User $user, Server $server, $permission)
|
||||
@@ -38,8 +38,8 @@ class ServerPolicy
|
||||
/**
|
||||
* Runs before any of the functions are called. Used to determine if user is root admin, if so, ignore permissions.
|
||||
*
|
||||
* @param \Pterodactyl\Models\User $user
|
||||
* @param string $ability
|
||||
* @param \Pterodactyl\Models\User $user
|
||||
* @param string $ability
|
||||
* @param \Pterodactyl\Models\Server $server
|
||||
* @return bool
|
||||
*/
|
||||
@@ -58,7 +58,7 @@ class ServerPolicy
|
||||
* policy permission.
|
||||
*
|
||||
* @param string $name
|
||||
* @param mixed $arguments
|
||||
* @param mixed $arguments
|
||||
*/
|
||||
public function __call($name, $arguments)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user