Run cs-fix, ensure we only install dependency versions supporting 7.4+
This commit is contained in:
parent
3e55a79439
commit
34ffaebd3e
16 changed files with 154 additions and 290 deletions
|
@ -33,8 +33,6 @@ class BuildModificationService
|
|||
* BuildModificationService constructor.
|
||||
*
|
||||
* @param \Pterodactyl\Services\Servers\ServerConfigurationStructureService $structureService
|
||||
* @param \Illuminate\Database\ConnectionInterface $connection
|
||||
* @param \Pterodactyl\Repositories\Wings\DaemonServerRepository $daemonServerRepository
|
||||
*/
|
||||
public function __construct(
|
||||
ServerConfigurationStructureService $structureService,
|
||||
|
@ -57,7 +55,7 @@ class BuildModificationService
|
|||
public function handle(Server $server, array $data)
|
||||
{
|
||||
/** @var \Pterodactyl\Models\Server $server */
|
||||
$server = $this->connection->transaction(function() use ($server, $data) {
|
||||
$server = $this->connection->transaction(function () use ($server, $data) {
|
||||
$this->processAllocations($server, $data);
|
||||
|
||||
if (isset($data['allocation_id']) && $data['allocation_id'] != $server->allocation_id) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue