Apply fixes from StyleCI (#417)
This commit is contained in:
parent
b3e5565f85
commit
9ccefbec44
2 changed files with 10 additions and 6 deletions
|
@ -27,14 +27,14 @@ namespace Pterodactyl\Repositories;
|
|||
use DB;
|
||||
use Crypt;
|
||||
use Validator;
|
||||
use Pterodactyl\Models\Node;
|
||||
use Pterodactyl\Models\Pack;
|
||||
use Pterodactyl\Models\User;
|
||||
use Pterodactyl\Models\Node;
|
||||
use Pterodactyl\Models\Server;
|
||||
use Pterodactyl\Models\Service;
|
||||
use Pterodactyl\Models\Allocation;
|
||||
use Pterodactyl\Services\UuidService;
|
||||
use Pterodactyl\Models\ServiceOption;
|
||||
use Pterodactyl\Services\UuidService;
|
||||
use Pterodactyl\Models\ServerVariable;
|
||||
use Pterodactyl\Models\ServiceVariable;
|
||||
use GuzzleHttp\Exception\ClientException;
|
||||
|
|
|
@ -213,7 +213,8 @@ class DeploymentService
|
|||
*
|
||||
* @return \Pterodactyl\Models\Node
|
||||
*/
|
||||
public function node() {
|
||||
public function node()
|
||||
{
|
||||
return $this->node;
|
||||
}
|
||||
|
||||
|
@ -222,7 +223,8 @@ class DeploymentService
|
|||
*
|
||||
* @return \Pterodactyl\Models\Location
|
||||
*/
|
||||
public function location() {
|
||||
public function location()
|
||||
{
|
||||
return $this->location;
|
||||
}
|
||||
|
||||
|
@ -231,7 +233,8 @@ class DeploymentService
|
|||
*
|
||||
* @return \Pterodactyl\Models\Allocation
|
||||
*/
|
||||
public function allocation() {
|
||||
public function allocation()
|
||||
{
|
||||
return $this->allocation;
|
||||
}
|
||||
|
||||
|
@ -240,7 +243,8 @@ class DeploymentService
|
|||
*
|
||||
* @return void
|
||||
*/
|
||||
public function select() {
|
||||
public function select()
|
||||
{
|
||||
if (! $this->node) {
|
||||
$this->findNode();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue