Skip to content

Commit

Permalink
Merge pull request #5 from versh23/add-mva
Browse files Browse the repository at this point in the history
add mva and fix empty array
  • Loading branch information
versh23 committed Mar 18, 2020
2 parents 1377dcc + 2571ed9 commit 901f748
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/IndexManager.php
Expand Up @@ -128,7 +128,7 @@ private function getValue($object, string $property, string $type = Index::ATTR_

return (string) $value;
case Index::ATTR_TYPE_MVA:
throw new ManticoreException('Not implemented yet');
return (array) $value;
case Index::ATTR_TYPE_STRING:
default:
return (string) $value;
Expand Down
4 changes: 2 additions & 2 deletions src/IndexManagerRegistry.php
Expand Up @@ -6,8 +6,8 @@

class IndexManagerRegistry
{
private $indexMap;
private $classMap;
private $indexMap = [];
private $classMap = [];

public function addIndexManager(IndexManager $manager)
{
Expand Down

0 comments on commit 901f748

Please sign in to comment.