Skip to content

Commit

Permalink
EventParameters: fixed bug that new types have not been added to type…
Browse files Browse the repository at this point in the history
… check
  • Loading branch information
Daniel Kurowski committed Jan 30, 2019
1 parent acc1c39 commit a3809af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Request/EventParameters.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ public function setType($type)
self::TYPE_EDUCATIONAL,
self::TYPE_COURSE,
self::TYPE_PUBLIC,
self::TYPE_CLUB,
self::TYPE_OHB,
], TRUE)) {
throw new InvalidArgumentException('Value `' . $type . '` is not of valid types for `type` parameter.');
}
Expand Down

0 comments on commit a3809af

Please sign in to comment.