Skip to content

Commit

Permalink
cs fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
syffer authored and maxhelias committed Mar 21, 2024
1 parent f7da754 commit 3a3265e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Adapter/Builder/GcloudAdapterDefinitionBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ protected function configureDefinition(Definition $definition, array $options, ?
$bucketDefinition->setArgument(0, $options['bucket']);

$visibilityHandlerReference = null;
if ($options['visibility_handler'] !== null) {
if (null !== $options['visibility_handler']) {
$visibilityHandlerReference = new Reference($options['visibility_handler']);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public function testOptionsBehavior()
'client' => 'my_client',
'bucket' => 'bucket_name',
'prefix' => 'prefix/path',
'visibility_handler' => UniformBucketLevelAccessVisibility::class
'visibility_handler' => UniformBucketLevelAccessVisibility::class,
], null);

$this->assertSame(GoogleCloudStorageAdapter::class, $definition->getClass());
Expand Down

0 comments on commit 3a3265e

Please sign in to comment.