Fixed FileProvider returning an illegal index.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

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

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)