Skip to content

Wrong parameter in the FakeBucketFactory #28

Open

Description

@roxblnfk

public function createFromAdapter(
FilesystemAdapter $adapter,
string $name = null,
UriResolverInterface $resolver = null
): BucketInterface {
return new FakeBucket(
new Filesystem(
new LocalFilesystemAdapter($this->path . '/' . $name)
),
$name,
$resolver
);
}

The createFromAdapter() method has the $adapter parameter that isn't used but it is required.
I think there is some bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions