|
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.
testing/src/Storage/FakeBucketFactory.php
Lines 23 to 35 in 4f178ab
The
createFromAdapter()method has the$adapterparameter that isn't used but it is required.I think there is some bug.