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 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;

View file

@ -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();
}