Massive PHPCS linting
This commit is contained in:
parent
78c8b8d8ea
commit
3ee5803416
346 changed files with 834 additions and 1424 deletions
|
@ -29,7 +29,7 @@ interface BaseRepositoryInterface
|
|||
/**
|
||||
* Set the node model to be used for this daemon connection.
|
||||
*
|
||||
* @param int $id
|
||||
* @param int $id
|
||||
* @return $this
|
||||
*/
|
||||
public function setNode($id);
|
||||
|
@ -44,7 +44,7 @@ interface BaseRepositoryInterface
|
|||
/**
|
||||
* Set the UUID for the server to be used in the X-Access-Server header for daemon requests.
|
||||
*
|
||||
* @param null|string $server
|
||||
* @param null|string $server
|
||||
* @return $this
|
||||
*/
|
||||
public function setAccessServer($server = null);
|
||||
|
@ -59,7 +59,7 @@ interface BaseRepositoryInterface
|
|||
/**
|
||||
* Set the token to be used in the X-Access-Token header for requests to the daemon.
|
||||
*
|
||||
* @param null|string $token
|
||||
* @param null|string $token
|
||||
* @return $this
|
||||
*/
|
||||
public function setAccessToken($token = null);
|
||||
|
@ -74,7 +74,7 @@ interface BaseRepositoryInterface
|
|||
/**
|
||||
* Return an instance of the Guzzle HTTP Client to be used for requests.
|
||||
*
|
||||
* @param array $headers
|
||||
* @param array $headers
|
||||
* @return \GuzzleHttp\Client
|
||||
*/
|
||||
public function getHttpClient($headers = []);
|
||||
|
|
|
@ -29,7 +29,7 @@ interface ConfigurationRepositoryInterface extends BaseRepositoryInterface
|
|||
/**
|
||||
* Update the configuration details for the specified node using data from the database.
|
||||
*
|
||||
* @param array $overrides
|
||||
* @param array $overrides
|
||||
* @return \Psr\Http\Message\ResponseInterface
|
||||
*/
|
||||
public function update(array $overrides = []);
|
||||
|
|
|
@ -29,9 +29,9 @@ interface ServerRepositoryInterface extends BaseRepositoryInterface
|
|||
/**
|
||||
* Create a new server on the daemon for the panel.
|
||||
*
|
||||
* @param int $id
|
||||
* @param array $overrides
|
||||
* @param bool $start
|
||||
* @param int $id
|
||||
* @param array $overrides
|
||||
* @param bool $start
|
||||
* @return \Psr\Http\Message\ResponseInterface
|
||||
*/
|
||||
public function create($id, $overrides = [], $start = false);
|
||||
|
@ -39,7 +39,7 @@ interface ServerRepositoryInterface extends BaseRepositoryInterface
|
|||
/**
|
||||
* Update server details on the daemon.
|
||||
*
|
||||
* @param array $data
|
||||
* @param array $data
|
||||
* @return \Psr\Http\Message\ResponseInterface
|
||||
*/
|
||||
public function update(array $data);
|
||||
|
@ -47,7 +47,7 @@ interface ServerRepositoryInterface extends BaseRepositoryInterface
|
|||
/**
|
||||
* Mark a server to be reinstalled on the system.
|
||||
*
|
||||
* @param array|null $data
|
||||
* @param array|null $data
|
||||
* @return \Psr\Http\Message\ResponseInterface
|
||||
*/
|
||||
public function reinstall($data = null);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue