From 9ccefbec446858cb01abe0581354fcb456f1e732 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Mon, 1 May 2017 23:00:34 -0400 Subject: [PATCH] Apply fixes from StyleCI (#417) --- app/Repositories/ServerRepository.php | 4 ++-- app/Services/DeploymentService.php | 12 ++++++++---- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/app/Repositories/ServerRepository.php b/app/Repositories/ServerRepository.php index f8523d48b..67aeda633 100644 --- a/app/Repositories/ServerRepository.php +++ b/app/Repositories/ServerRepository.php @@ -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; diff --git a/app/Services/DeploymentService.php b/app/Services/DeploymentService.php index e9cca35a0..f25c04e93 100644 --- a/app/Services/DeploymentService.php +++ b/app/Services/DeploymentService.php @@ -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(); }