Skip to content

Commit 9ccefbe

Browse files
authored
Apply fixes from StyleCI (pterodactyl#417)
1 parent b3e5565 commit 9ccefbe

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

app/Repositories/ServerRepository.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@
2727
use DB;
2828
use Crypt;
2929
use Validator;
30+
use Pterodactyl\Models\Node;
3031
use Pterodactyl\Models\Pack;
3132
use Pterodactyl\Models\User;
32-
use Pterodactyl\Models\Node;
3333
use Pterodactyl\Models\Server;
3434
use Pterodactyl\Models\Service;
3535
use Pterodactyl\Models\Allocation;
36-
use Pterodactyl\Services\UuidService;
3736
use Pterodactyl\Models\ServiceOption;
37+
use Pterodactyl\Services\UuidService;
3838
use Pterodactyl\Models\ServerVariable;
3939
use Pterodactyl\Models\ServiceVariable;
4040
use GuzzleHttp\Exception\ClientException;

app/Services/DeploymentService.php

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,8 @@ protected function checkNodeUsage()
213213
*
214214
* @return \Pterodactyl\Models\Node
215215
*/
216-
public function node() {
216+
public function node()
217+
{
217218
return $this->node;
218219
}
219220

@@ -222,7 +223,8 @@ public function node() {
222223
*
223224
* @return \Pterodactyl\Models\Location
224225
*/
225-
public function location() {
226+
public function location()
227+
{
226228
return $this->location;
227229
}
228230

@@ -231,7 +233,8 @@ public function location() {
231233
*
232234
* @return \Pterodactyl\Models\Allocation
233235
*/
234-
public function allocation() {
236+
public function allocation()
237+
{
235238
return $this->allocation;
236239
}
237240

@@ -240,7 +243,8 @@ public function allocation() {
240243
*
241244
* @return void
242245
*/
243-
public function select() {
246+
public function select()
247+
{
244248
if (! $this->node) {
245249
$this->findNode();
246250
}

0 commit comments

Comments
 (0)