From 5712841d94bc87139bc8c1c62968e2454339cb3c Mon Sep 17 00:00:00 2001 From: Muhammad Dyas Yaskur Date: Mon, 6 Jul 2020 10:43:15 +0000 Subject: [PATCH] Apply fixes from StyleCI --- phpunit.php | 2 +- src/GoogleCloudStorageServiceProvider.php | 13 ++++++------- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/phpunit.php b/phpunit.php index 043183f..d109587 100644 --- a/phpunit.php +++ b/phpunit.php @@ -1,3 +1,3 @@ extend( 'gcs', function ($app, $config) { - $s3Config = $this->formatS3Config($config); - $s3Config['region'] = $s3Config['region'] ?? "none"; - $root = $s3Config['root'] ?? null; + $s3Config = $this->formatS3Config($config); + $s3Config['region'] = $s3Config['region'] ?? 'none'; + $root = $s3Config['root'] ?? null; $options = $config['options'] ?? []; @@ -56,7 +56,7 @@ protected function formatS3Config(array $config) /** * Adapt the filesystem implementation. * - * @param FilesystemInterface $filesystem + * @param FilesystemInterface $filesystem * * @return Filesystem */ @@ -68,8 +68,8 @@ protected function adapt(FilesystemInterface $filesystem) /** * Create a Flysystem instance with the given adapter. * - * @param AdapterInterface $adapter - * @param array $config + * @param AdapterInterface $adapter + * @param array $config * * @return FilesystemInterface */ @@ -93,5 +93,4 @@ public function register() { // } - }