Use OR instead of ||

Fixes #6
This commit is contained in:
Oliver Davies 2016-09-22 19:26:10 +01:00
parent 2b410128c1
commit 30d83f7682

View file

@ -160,7 +160,7 @@ class GmailFilter
*/
public function from(array $values)
{
$this->condition('from', implode('||', $values));
$this->condition('from', implode(' OR ', $values));
return $this;
}
@ -175,7 +175,7 @@ class GmailFilter
*/
public function to(array $values)
{
$this->condition('to', implode('||', $values));
$this->condition('to', implode(' OR ', $values));
return $this;
}