Format files
This commit is contained in:
parent
26e4ff1f62
commit
7543ef085d
193 changed files with 624 additions and 602 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue