Clean & reformat code

This commit is contained in:
Pierre Lannoy 2024-02-12 11:28:56 +01:00
commit 5180bf1d38
Signed by: Pierre Lannoy
GPG key ID: D27231EF87D53F31
88 changed files with 4317 additions and 4408 deletions

View file

@ -5,26 +5,25 @@ namespace Hosterra\NetBox\Api\Extras;
use GuzzleHttp\Exception\GuzzleException;
use Hosterra\NetBox\Api\AbstractApi;
class Scripts extends AbstractApi
{
/**
* @param array $params
* @return mixed
* @throws GuzzleException
*/
public function list(array $params = [])
{
return $this->get("/extras/scripts/", $params);
}
class Scripts extends AbstractApi {
/**
* @param array $params
*
* @return mixed
* @throws GuzzleException
*/
public function list( array $params = [] ) {
return $this->get( "/extras/scripts/", $params );
}
/**
* @param int $id
* @param array $params
* @return mixed
* @throws GuzzleException
*/
public function show(int $id, array $params = [])
{
return $this->get("/extras/scripts/" . $id . "/", $params);
}
/**
* @param int $id
* @param array $params
*
* @return mixed
* @throws GuzzleException
*/
public function show( int $id, array $params = [] ) {
return $this->get( "/extras/scripts/" . $id . "/", $params );
}
}