@@ -35,6 +35,10 @@ discard block |
||
35 | 35 | return $this; |
36 | 36 | } |
37 | 37 | |
38 | + /** |
|
39 | + * @param string $operator |
|
40 | + * @param string $value |
|
41 | + */ |
|
38 | 42 | public function orWhere($field, $operator = null, $value = null) |
39 | 43 | { |
40 | 44 | $this->addPredicate(self::LOGICAL_OR, $field, $operator, $value); |
@@ -42,6 +46,9 @@ discard block |
||
42 | 46 | return $this; |
43 | 47 | } |
44 | 48 | |
49 | + /** |
|
50 | + * @param string $type |
|
51 | + */ |
|
45 | 52 | protected function addPredicate($type, $field, $operator = null, $value = null) |
46 | 53 | { |
47 | 54 | if (!$this->predicates) { |