apply StyleCI patch, fixes #1084

This commit is contained in:
El RIDO
2023-06-18 12:54:22 +02:00
parent 5b458a17c2
commit 8988899c8c
7 changed files with 34 additions and 35 deletions

View File

@@ -196,10 +196,10 @@ class BucketStub extends Bucket
$prefix = key_exists('prefix', $options) ? $options['prefix'] : '';
return new CallbackFilterIterator(
new ArrayIterator($this->_objects),
function ($current, $key, $iterator) use ($prefix) {
return substr($key, 0, strlen($prefix)) == $prefix;
}
new ArrayIterator($this->_objects),
function ($current, $key, $iterator) use ($prefix) {
return substr($key, 0, strlen($prefix)) == $prefix;
}
);
}