Fixed FileProvider returning an illegal index.
This commit is contained in:
parent
11b49b779d
commit
ac0fc0331e
@ -114,7 +114,11 @@ class FileProvider implements iObjectStorageProvider
|
|||||||
|
|
||||||
public function getIndex(): array
|
public function getIndex(): array
|
||||||
{
|
{
|
||||||
return $this->index;
|
$out = [];
|
||||||
|
foreach ($this->index as $key => $val)
|
||||||
|
$out[] = $key;
|
||||||
|
|
||||||
|
return $out;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getItem(string $key)
|
public function getItem(string $key)
|
||||||
|
Loading…
Reference in New Issue
Block a user