Skip to content
This repository has been archived by the owner on Dec 11, 2022. It is now read-only.

Commit

Permalink
Fix Composer dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
camwhit-e committed Apr 4, 2022
1 parent 3d1c1f8 commit 60d684b
Show file tree
Hide file tree
Showing 5 changed files with 13,336 additions and 26 deletions.
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,3 @@ resources/lang/locales.js
resources/assets/pterodactyl/scripts/helpers/ziggy.js
resources/assets/scripts/helpers/ziggy.js
.phpunit.result.cache

settings.json
yarn.lock
composer.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class PterodactylSerializer extends ArraySerializer
*
* @return array
*/
public function item($resourceKey, array $data)
public function item($resourceKey, array $data): array
{
return [
'object' => $resourceKey,
Expand All @@ -28,7 +28,7 @@ public function item($resourceKey, array $data)
*
* @return array
*/
public function collection($resourceKey, array $data)
public function collection($resourceKey, array $data): array
{
$response = [];
foreach ($data as $datum) {
Expand All @@ -46,7 +46,7 @@ public function collection($resourceKey, array $data)
*
* @return array
*/
public function null()
public function null(): array
{
return [
'object' => 'null_resource',
Expand All @@ -62,7 +62,7 @@ public function null()
*
* @return array
*/
public function mergeIncludes($transformedData, $includedData)
public function mergeIncludes($transformedData, $includedData): array
{
foreach ($includedData as $key => $datum) {
$transformedData['relationships'][$key] = $datum;
Expand Down
4 changes: 2 additions & 2 deletions app/Transformers/Api/Client/ServerTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ class ServerTransformer extends BaseClientTransformer
/**
* @var string[]
*/
protected $defaultIncludes = ['allocations', 'variables'];
protected array $defaultIncludes = ['allocations', 'variables'];

/**
* @var array
*/
protected $availableIncludes = ['egg', 'subusers'];
protected array $availableIncludes = ['egg', 'subusers'];

public function getResourceName(): string
{
Expand Down
29 changes: 13 additions & 16 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,35 +9,32 @@
"ext-pdo": "*",
"ext-pdo_mysql": "*",
"ext-zip": "*",
"asbiin/laravel-webauthn": "^1.1",
"aws/aws-sdk-php": "^3.192",
"doctrine/dbal": "^3.1",
"asbiin/laravel-webauthn": "1.1",
"aws/aws-sdk-php": "^3.171",
"doctrine/dbal": "^2.12",
"fideloper/proxy": "^4.4",
"guzzlehttp/guzzle": "^7.3",
"guzzlehttp/guzzle": "^7.2",
"hashids/hashids": "^4.1",
"laracasts/utilities": "^3.2",
"laravel/cashier": "^13.7",
"laravel/framework": "^8.68",
"laravel/framework": "^8.22",
"laravel/helpers": "^1.4",
"laravel/sanctum": "^2.11",
"laravel/tinker": "^2.6",
"laravel/ui": "^3.3",
"lcobucci/jwt": "^4.1",
"laravel/tinker": "^2.5",
"laravel/ui": "^3.0",
"lcobucci/jwt": "^4.0",
"league/flysystem-aws-s3-v3": "^1.0",
"league/flysystem-memory": "^1.0",
"matriphe/iso-639": "^1.2",
"paypal/paypal-checkout-sdk": "^1.0",
"pragmarx/google2fa": "^8.0",
"paypal/paypal-checkout-sdk": "1.0",
"pragmarx/google2fa": "^5.0",
"predis/predis": "^1.1",
"prologue/alerts": "^0.4",
"psr/cache": "1.0.1",
"s1lentium/iptools": "^1.1",
"spatie/laravel-fractal": "^5.8",
"spatie/laravel-query-builder": "^3.5",
"spatie/laravel-query-builder": "^3.3",
"staudenmeir/belongs-to-through": "^2.11",
"stripe/stripe-php": "^7.110",
"symfony/yaml": "^5.3",
"webmozart/assert": "^1.10"
"symfony/yaml": "^4.4",
"webmozart/assert": "^1.9"
},
"require-dev": {
"barryvdh/laravel-debugbar": "^3.6",
Expand Down
Loading

0 comments on commit 60d684b

Please sign in to comment.