Skip to content

Commit 8adb7da

Browse files
Merge branch 'pr-131-ac' into php-prs-129-131
2 parents f28482d + c047a47 commit 8adb7da

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/PubNub/Endpoints/Objects/Member/ManageMembers.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ protected function validateParams()
147147
if (empty($this->channel)) {
148148
throw new PubNubValidationException("channel missing");
149149
}
150-
$members = !empty($this->setMembers) or !empty($this->removeMembers);
151-
$uuids = !empty($this->setUuids) or !empty($this->removeUuids);
150+
$members = !empty($this->setMembers) || !empty($this->removeMembers);
151+
$uuids = !empty($this->setUuids) || !empty($this->removeUuids);
152152

153153
if ($members and $uuids) {
154154
throw new PubNubValidationException("Either members or uuids should be provided");

0 commit comments

Comments
 (0)