Skip to content
This repository has been archived by the owner on Apr 30, 2024. It is now read-only.

Commit

Permalink
Fix invalid index map key
Browse files Browse the repository at this point in the history
  • Loading branch information
apfelbox committed Nov 25, 2021
1 parent 505fb63 commit 7e10096
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
4.0.0-beta.2
============

* (bug) Fix invalid index map key.


4.0.0-beta.1
============

Expand Down
2 changes: 1 addition & 1 deletion src/Factory/DocumentFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ private function getDocumentDefinitionMap () : array

foreach ($this->documentDefinitions as $definition)
{
$this->definitionMap[$definition->getTypeId()] = $definition;
$this->definitionMap[$definition->getDataClass()] = $definition;
}
}

Expand Down

0 comments on commit 7e10096

Please sign in to comment.