From 775a2dd6043acc01a88aca139fdb9ca766472371 Mon Sep 17 00:00:00 2001 From: Matthew Daly <450801+matthewbdaly@users.noreply.github.com> Date: Thu, 12 Nov 2020 12:25:59 +0000 Subject: [PATCH] Ran PHPCBF --- src/AzureStorageServiceProvider.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/AzureStorageServiceProvider.php b/src/AzureStorageServiceProvider.php index 915607d..9c566f2 100644 --- a/src/AzureStorageServiceProvider.php +++ b/src/AzureStorageServiceProvider.php @@ -24,7 +24,7 @@ public function boot() $adapter = new AzureBlobStorageAdapter( $client, $config['container'], - $config['key']?? null, + $config['key'] ?? null, $config['url'] ?? null, $config['prefix'] ?? null ); @@ -42,15 +42,13 @@ public function register() $this->app->bind(BlobRestProxy::class, function ($app, $config) { $config = empty($config) ? $app->make('config')->get('filesystems.disks.azure') : $config; - if(array_key_exists('sasToken', $config)) { - + if (array_key_exists('sasToken', $config)) { $endpoint = sprintf( 'BlobEndpoint=%s;SharedAccessSignature=%s;', $config['endpoint'], $config['sasToken'] ); - }else{ - + } else { $endpoint = sprintf( 'DefaultEndpointsProtocol=https;AccountName=%s;AccountKey=%s;', $config['name'],