Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong parameter in the FakeBucketFactory #28

Open
roxblnfk opened this issue Aug 15, 2022 · 0 comments
Open

Wrong parameter in the FakeBucketFactory #28

roxblnfk opened this issue Aug 15, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@roxblnfk
Copy link
Member

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.

@roxblnfk roxblnfk moved this to Todo in Spiral framework Aug 15, 2022
@butschster butschster added the bug Something isn't working label Sep 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

2 participants