Massive PHPCS linting
This commit is contained in:
parent
78c8b8d8ea
commit
3ee5803416
346 changed files with 834 additions and 1424 deletions
|
@ -76,9 +76,9 @@ class KeyService
|
|||
/**
|
||||
* Create a new API Key on the system with the given permissions.
|
||||
*
|
||||
* @param array $data
|
||||
* @param array $permissions
|
||||
* @param array $administrative
|
||||
* @param array $data
|
||||
* @param array $permissions
|
||||
* @param array $administrative
|
||||
* @return string
|
||||
*
|
||||
* @throws \Exception
|
||||
|
@ -136,7 +136,7 @@ class KeyService
|
|||
/**
|
||||
* Delete the API key and associated permissions from the database.
|
||||
*
|
||||
* @param int $id
|
||||
* @param int $id
|
||||
* @return bool|null
|
||||
*/
|
||||
public function revoke($id)
|
||||
|
|
|
@ -46,8 +46,8 @@ class PermissionService
|
|||
/**
|
||||
* Store a permission key in the database.
|
||||
*
|
||||
* @param string $key
|
||||
* @param string $permission
|
||||
* @param string $key
|
||||
* @param string $permission
|
||||
* @return bool
|
||||
*
|
||||
* @throws \Pterodactyl\Exceptions\Model\DataValidationException
|
||||
|
|
Reference in a new issue