Massive PHPCS linting
This commit is contained in:
parent
78c8b8d8ea
commit
3ee5803416
346 changed files with 834 additions and 1424 deletions
|
@ -48,9 +48,8 @@ class CommandRepository
|
|||
/**
|
||||
* Constuctor for repository.
|
||||
*
|
||||
* @param \Pterodactyl\Models\Server $server
|
||||
* @param \Pterodactyl\Models\User|null $user
|
||||
* @return void
|
||||
* @param \Pterodactyl\Models\Server $server
|
||||
* @param \Pterodactyl\Models\User|null $user
|
||||
*/
|
||||
public function __construct(Server $server, User $user = null)
|
||||
{
|
||||
|
@ -61,7 +60,7 @@ class CommandRepository
|
|||
/**
|
||||
* Sends a command to the daemon.
|
||||
*
|
||||
* @param string $command
|
||||
* @param string $command
|
||||
* @return string
|
||||
*
|
||||
* @throws \Pterodactyl\Exceptions\DisplayException
|
||||
|
|
|
@ -42,8 +42,7 @@ class FileRepository
|
|||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param string $uuid
|
||||
* @return void
|
||||
* @param string $uuid
|
||||
*/
|
||||
public function __construct($uuid)
|
||||
{
|
||||
|
@ -53,7 +52,7 @@ class FileRepository
|
|||
/**
|
||||
* Get the contents of a requested file for the server.
|
||||
*
|
||||
* @param string $file
|
||||
* @param string $file
|
||||
* @return array
|
||||
*
|
||||
* @throws \GuzzleHttp\Exception\RequestException
|
||||
|
@ -99,8 +98,8 @@ class FileRepository
|
|||
/**
|
||||
* Save the contents of a requested file on the daemon.
|
||||
*
|
||||
* @param string $file
|
||||
* @param string $content
|
||||
* @param string $file
|
||||
* @param string $content
|
||||
* @return bool
|
||||
*
|
||||
* @throws \GuzzleHttp\Exception\RequestException
|
||||
|
@ -132,7 +131,7 @@ class FileRepository
|
|||
/**
|
||||
* Returns a listing of all files and folders within a specified directory on the daemon.
|
||||
*
|
||||
* @param string $directory
|
||||
* @param string $directory
|
||||
* @return object
|
||||
*
|
||||
* @throws \GuzzleHttp\Exception\RequestException
|
||||
|
|
|
@ -48,9 +48,8 @@ class PowerRepository
|
|||
/**
|
||||
* Constuctor for repository.
|
||||
*
|
||||
* @param \Pterodactyl\Models\Server $server
|
||||
* @param \Pterodactyl\Models\User|null $user
|
||||
* @return void
|
||||
* @param \Pterodactyl\Models\Server $server
|
||||
* @param \Pterodactyl\Models\User|null $user
|
||||
*/
|
||||
public function __construct(Server $server, User $user = null)
|
||||
{
|
||||
|
@ -61,7 +60,7 @@ class PowerRepository
|
|||
/**
|
||||
* Sends a power option to the daemon.
|
||||
*
|
||||
* @param string $action
|
||||
* @param string $action
|
||||
* @return string
|
||||
*
|
||||
* @throws \GuzzleHttp\Exception\RequestException
|
||||
|
@ -89,8 +88,6 @@ class PowerRepository
|
|||
|
||||
/**
|
||||
* Starts a server.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function start()
|
||||
{
|
||||
|
@ -99,8 +96,6 @@ class PowerRepository
|
|||
|
||||
/**
|
||||
* Stops a server.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function stop()
|
||||
{
|
||||
|
@ -109,8 +104,6 @@ class PowerRepository
|
|||
|
||||
/**
|
||||
* Restarts a server.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function restart()
|
||||
{
|
||||
|
@ -119,8 +112,6 @@ class PowerRepository
|
|||
|
||||
/**
|
||||
* Kills a server.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function kill()
|
||||
{
|
||||
|
|
Reference in a new issue