@@ -49,7 +49,7 @@ |
||
49 | 49 | |
50 | 50 | /** |
51 | 51 | * @param $expr1 |
52 | - * @param null $expr2 |
|
52 | + * @param string|null $expr2 |
|
53 | 53 | * @param null $func |
54 | 54 | * |
55 | 55 | * @return void |
@@ -21,6 +21,9 @@ |
||
21 | 21 | */ |
22 | 22 | protected $where = []; |
23 | 23 | |
24 | + /** |
|
25 | + * @param string $operator |
|
26 | + */ |
|
24 | 27 | protected function _addWhere($val1, $val2 = null, $operator = null, $bind = true, $join = 'AND'){ |
25 | 28 | $operator = strtoupper(trim($operator)); |
26 | 29 | $join = strtoupper(trim($join)); |
@@ -14,8 +14,19 @@ |
||
14 | 14 | |
15 | 15 | interface UpdateInterface extends StatementInterface{ |
16 | 16 | |
17 | + /** |
|
18 | + * @return void |
|
19 | + */ |
|
17 | 20 | public function table(); |
21 | + |
|
22 | + /** |
|
23 | + * @return void |
|
24 | + */ |
|
18 | 25 | public function set(); |
26 | + |
|
27 | + /** |
|
28 | + * @return UpdateAbstract |
|
29 | + */ |
|
19 | 30 | public function where($val1, $val2, $operator = '=', $bind = true, $join = 'AND'); |
20 | 31 | |
21 | 32 | } |