Fixed FileProvider returning an illegal index.
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
Abel Hoogeveen 2020-12-21 14:35:51 +01:00
parent 11b49b779d
commit ac0fc0331e
Signed by: abelhooge
GPG Key ID: 387E8DC1F73306FC
1 changed files with 5 additions and 1 deletions

View File

@ -114,7 +114,11 @@ class FileProvider implements iObjectStorageProvider
public function getIndex(): array
{
return $this->index;
$out = [];
foreach ($this->index as $key => $val)
$out[] = $key;
return $out;
}
public function getItem(string $key)