mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 23:03:45 +02:00
Massive PHPCS linting
This commit is contained in:
@@ -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 New Issue
Block a user