style: apply php-cs-fixer

This commit is contained in:
Zephyr Lykos 2024-01-19 21:57:17 +08:00
parent a48965743d
commit d8f0d00048
No known key found for this signature in database
GPG Key ID: D3E9D31E2F77F04D
5 changed files with 9 additions and 9 deletions

View File

@ -6,7 +6,7 @@ use Illuminate\Contracts\Events\Dispatcher;
return function (Dispatcher $events) {
$events->listen(ArtisanStarting::class, function (ArtisanStarting $event) {
$event->artisan->resolveCommands([
\BatchImport\ImportCommand::class,
BatchImport\ImportCommand::class,
]);
});
};

View File

@ -17,6 +17,6 @@ return function (App\Services\PluginManager $plugins) {
app()->instance(
'cipher',
new \GPlane\PasswordTransition\Cipher(preg_split('/,\s*/', env('SALT')))
new GPlane\PasswordTransition\Cipher(preg_split('/,\s*/', env('SALT')))
);
};

View File

@ -6,7 +6,7 @@ use Illuminate\Contracts\Events\Dispatcher;
return function (Dispatcher $events) {
$events->listen(ArtisanStarting::class, function (ArtisanStarting $event) {
$event->artisan->resolveCommands([
\Blessing\TextureTypeCast\CastTextureType::class,
Blessing\TextureTypeCast\CastTextureType::class,
]);
});
};

View File

@ -2,5 +2,5 @@
return function () {
$kernel = app()->make('Illuminate\Contracts\Http\Kernel');
$kernel->pushMiddleware(\GPlane\TrustProxies\TrustProxies::class);
$kernel->pushMiddleware(GPlane\TrustProxies\TrustProxies::class);
};

View File

@ -14,14 +14,14 @@ class ServicesController extends Controller
$result = [
'profilePropertyKeys' => [
[
'publicKey' => Key::getPublicKey($privateKey)
]
'publicKey' => Key::getPublicKey($privateKey),
],
],
'playerCertificateKeys' => [
[
'pulicKey' => Key::getPublicKey($privateKey)
]
]
'pulicKey' => Key::getPublicKey($privateKey),
],
],
];
return json($result);