Format files

This commit is contained in:
Dane Everitt 2019-09-05 21:32:57 -07:00
parent 26e4ff1f62
commit 7543ef085d
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
193 changed files with 624 additions and 602 deletions

View file

@ -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)
{