Update docblocks

This commit is contained in:
Oliver Davies 2016-07-12 21:05:37 +01:00
parent 8072fc5306
commit 58acfbb4a8

View file

@ -45,14 +45,14 @@ class GmailFilter
}
/**
* @return mixed
* @return array
*/
public function getConditions() {
return $this->conditions;
}
/**
* @return mixed
* @return array
*/
public function getLabels() {
return $this->labels;
@ -79,10 +79,26 @@ class GmailFilter
return $this->neverSpam;
}
/**
* Condition based on words within the email.
*
* @param string $value
* The value to compare against.
*
* @return $this
*/
public function contains($value) {
return $this->condition('hasTheWord', $value);
}
/**
* Condition based on the subject.
*
* @param string $value
* The value to compare against.
*
* @return $this
*/
public function subject($value) {
return $this->condition('subject', $value);
}