Skip to content

Commit

Permalink
Merge pull request #69 from bookboon/hotfix/addClassroomAsType
Browse files Browse the repository at this point in the history
chore: Added classroom type to allow entity store to capture data
  • Loading branch information
lkm authored Oct 13, 2021
2 parents b92ad2e + fda4568 commit 3db6e9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Entity/Book.php
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ public static function getEntitiesFromArray(array $array) : array
foreach ($array as $object) {
if (in_array(
$object['_type'],
[self::TYPE_PDF, self::TYPE_AUDIO, self::TYPE_VIDEO, self::TYPE_AUDIOTALK],
[self::TYPE_PDF, self::TYPE_AUDIO, self::TYPE_VIDEO, self::TYPE_AUDIOTALK, self::TYPE_CLASSROOM],
true)
) {
$entities[] = self::objectTransformer($object);
Expand Down

0 comments on commit 3db6e9b

Please sign in to comment.