From a3809afaa85f2498f2f2aafc842505c2aca07c31 Mon Sep 17 00:00:00 2001 From: Daniel Kurowski Date: Wed, 30 Jan 2019 10:40:46 +0100 Subject: [PATCH] EventParameters: fixed bug that new types have not been added to type check --- src/Request/EventParameters.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Request/EventParameters.php b/src/Request/EventParameters.php index 1a2b944..45f48ba 100644 --- a/src/Request/EventParameters.php +++ b/src/Request/EventParameters.php @@ -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.'); }