public function whereAny($filter) { if ($filter) { $this->whereQuery->addWhereAny($filter); } return $this; }