Skip to content

Commit

Permalink
Merge pull request #1 from HalalSoft/analysis-YjM9pv
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
dyaskur authored Jul 6, 2020
2 parents 69c1c36 + 5712841 commit 7a3f430
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion phpunit.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<?php

include __DIR__ . '/vendor/autoload.php';
include __DIR__.'/vendor/autoload.php';
13 changes: 6 additions & 7 deletions src/GoogleCloudStorageServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ public function boot()
$factory->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'] ?? [];

Expand Down Expand Up @@ -56,7 +56,7 @@ protected function formatS3Config(array $config)
/**
* Adapt the filesystem implementation.
*
* @param FilesystemInterface $filesystem
* @param FilesystemInterface $filesystem
*
* @return Filesystem
*/
Expand All @@ -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
*/
Expand All @@ -93,5 +93,4 @@ public function register()
{
//
}

}

0 comments on commit 7a3f430

Please sign in to comment.