Apply fixes from StyleCI (#417)
This commit is contained in:
parent
b3e5565f85
commit
9ccefbec44
|
@ -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;
|
||||||
|
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue