Skip to content

Commit

Permalink
Property types for GCS
Browse files Browse the repository at this point in the history
  • Loading branch information
frankdejonge committed Oct 26, 2022
1 parent b9bd194 commit 13eab25
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 26 deletions.
29 changes: 5 additions & 24 deletions src/GoogleCloudStorage/GoogleCloudStorageAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,30 +46,11 @@

class GoogleCloudStorageAdapter implements FilesystemAdapter, PublicUrlGenerator, ChecksumProvider, TemporaryUrlGenerator
{
/**
* @var Bucket
*/
private $bucket;

/**
* @var PathPrefixer
*/
private $prefixer;

/**
* @var VisibilityHandler
*/
private $visibilityHandler;

/**
* @var string
*/
private $defaultVisibility;

/**
* @var MimeTypeDetector
*/
private $mimeTypeDetector;
private Bucket $bucket;
private PathPrefixer $prefixer;
private VisibilityHandler $visibilityHandler;
private string $defaultVisibility;
private MimeTypeDetector $mimeTypeDetector;

private static array $algoToInfoMap = [
'md5' => 'md5Hash',
Expand Down
2 changes: 0 additions & 2 deletions src/GoogleCloudStorage/GoogleCloudStorageAdapterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
use League\Flysystem\UnableToRetrieveMetadata;
use League\Flysystem\UnableToWriteFile;

use function file_get_contents;

/**
* @group gcs
*/
Expand Down

0 comments on commit 13eab25

Please sign in to comment.