There was an error while loading. Please reload this page.
2 parents f28482d + c047a47 commit 8adb7daCopy full SHA for 8adb7da
1 file changed
src/PubNub/Endpoints/Objects/Member/ManageMembers.php
@@ -147,8 +147,8 @@ protected function validateParams()
147
if (empty($this->channel)) {
148
throw new PubNubValidationException("channel missing");
149
}
150
- $members = !empty($this->setMembers) or !empty($this->removeMembers);
151
- $uuids = !empty($this->setUuids) or !empty($this->removeUuids);
+ $members = !empty($this->setMembers) || !empty($this->removeMembers);
+ $uuids = !empty($this->setUuids) || !empty($this->removeUuids);
152
153
if ($members and $uuids) {
154
throw new PubNubValidationException("Either members or uuids should be provided");
0 commit comments