From 29bbf1cc257f07a7acb9813c0e639f0bb89e3537 Mon Sep 17 00:00:00 2001 From: Sunny Date: Wed, 5 Jul 2023 13:22:06 +0700 Subject: [PATCH] MAKAIRA-3656 Allow recommendationId to be null --- src/RecommendationQuery.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/RecommendationQuery.php b/src/RecommendationQuery.php index 6f4a9d4..05f5f8b 100644 --- a/src/RecommendationQuery.php +++ b/src/RecommendationQuery.php @@ -147,10 +147,6 @@ public function verify() { parent::verify(); - if (null === $this->recommendationId) { - throw new DomainException('recommendationId: (identifier) must be set!'); - } - if (null === $this->count) { throw new DomainException('count: must be set!'); }