mirror of
https://github.com/bs-community/blessing-skin-plugins.git
synced 2025-01-08 11:37:27 +08:00
style: apply php-cs-fixer
This commit is contained in:
parent
a48965743d
commit
d8f0d00048
@ -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,
|
||||
]);
|
||||
});
|
||||
};
|
||||
|
@ -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')))
|
||||
);
|
||||
};
|
||||
|
@ -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,
|
||||
]);
|
||||
});
|
||||
};
|
||||
|
@ -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);
|
||||
};
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user