public function removeUid($uid) { $this->userIds = array_diff($this->userIds, [$uid]); return $this; }