Weekly fix of my StyleCI violations...
This commit is contained in:
parent
0ca7148e07
commit
77b1a258d9
10 changed files with 6 additions and 14 deletions
|
@ -27,8 +27,6 @@ namespace Pterodactyl\Jobs;
|
|||
use Cron;
|
||||
use Carbon;
|
||||
use Pterodactyl\Models\Task;
|
||||
use Pterodactyl\Models\User;
|
||||
use Pterodactyl\Models\Server;
|
||||
use Pterodactyl\Models\TaskLog;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
use Illuminate\Queue\InteractsWithQueue;
|
||||
|
@ -77,7 +75,7 @@ class SendScheduledTask extends Job implements ShouldQueue
|
|||
if ($this->task->action === 'command') {
|
||||
$repo = new CommandRepository($this->task->server, $this->task->user);
|
||||
$response = $repo->send($this->task->data);
|
||||
} else if ($this->task->action === 'power') {
|
||||
} elseif ($this->task->action === 'power') {
|
||||
$repo = new PowerRepository($this->task->server, $this->task->user);
|
||||
$response = $repo->do($this->task->data);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue