Apply fixes from StyleCI (#417)

This commit is contained in:
Dane Everitt 2017-05-01 23:00:34 -04:00 committed by GitHub
parent b3e5565f85
commit 9ccefbec44
2 changed files with 10 additions and 6 deletions

View File

@ -27,14 +27,14 @@ namespace Pterodactyl\Repositories;
use DB; use DB;
use Crypt; use Crypt;
use Validator; use Validator;
use Pterodactyl\Models\Node;
use Pterodactyl\Models\Pack; use Pterodactyl\Models\Pack;
use Pterodactyl\Models\User; use Pterodactyl\Models\User;
use Pterodactyl\Models\Node;
use Pterodactyl\Models\Server; use Pterodactyl\Models\Server;
use Pterodactyl\Models\Service; use Pterodactyl\Models\Service;
use Pterodactyl\Models\Allocation; use Pterodactyl\Models\Allocation;
use Pterodactyl\Services\UuidService;
use Pterodactyl\Models\ServiceOption; use Pterodactyl\Models\ServiceOption;
use Pterodactyl\Services\UuidService;
use Pterodactyl\Models\ServerVariable; use Pterodactyl\Models\ServerVariable;
use Pterodactyl\Models\ServiceVariable; use Pterodactyl\Models\ServiceVariable;
use GuzzleHttp\Exception\ClientException; use GuzzleHttp\Exception\ClientException;

View File

@ -213,7 +213,8 @@ class DeploymentService
* *
* @return \Pterodactyl\Models\Node * @return \Pterodactyl\Models\Node
*/ */
public function node() { public function node()
{
return $this->node; return $this->node;
} }
@ -222,7 +223,8 @@ class DeploymentService
* *
* @return \Pterodactyl\Models\Location * @return \Pterodactyl\Models\Location
*/ */
public function location() { public function location()
{
return $this->location; return $this->location;
} }
@ -231,7 +233,8 @@ class DeploymentService
* *
* @return \Pterodactyl\Models\Allocation * @return \Pterodactyl\Models\Allocation
*/ */
public function allocation() { public function allocation()
{
return $this->allocation; return $this->allocation;
} }
@ -240,7 +243,8 @@ class DeploymentService
* *
* @return void * @return void
*/ */
public function select() { public function select()
{
if (! $this->node) { if (! $this->node) {
$this->findNode(); $this->findNode();
} }