@@ -16,6 +16,9 @@ |
||
16 | 16 | */ |
17 | 17 | interface DeleteInterface extends StatementInterface{ |
18 | 18 | |
19 | + /** |
|
20 | + * @return void |
|
21 | + */ |
|
19 | 22 | public function from(); |
20 | 23 | public function where($val1, $val2, $operator = '=', $bind = true, $join = 'AND'):DeleteInterface; |
21 | 24 |
@@ -18,6 +18,10 @@ |
||
18 | 18 | |
19 | 19 | public function sql():string; |
20 | 20 | public function bindValues():array; |
21 | + |
|
22 | + /** |
|
23 | + * @return void |
|
24 | + */ |
|
21 | 25 | public function execute(); |
22 | 26 | public function quote(string $str):string; |
23 | 27 |
@@ -53,7 +53,7 @@ |
||
53 | 53 | /** |
54 | 54 | * @param $val1 |
55 | 55 | * @param null $val2 |
56 | - * @param null $operator |
|
56 | + * @param string $operator |
|
57 | 57 | * @param bool $bind |
58 | 58 | * @param string $join |
59 | 59 | * |
@@ -16,8 +16,19 @@ |
||
16 | 16 | */ |
17 | 17 | interface UpdateInterface extends StatementInterface{ |
18 | 18 | |
19 | + /** |
|
20 | + * @return void |
|
21 | + */ |
|
19 | 22 | public function table(); |
23 | + |
|
24 | + /** |
|
25 | + * @return void |
|
26 | + */ |
|
20 | 27 | public function set(); |
28 | + |
|
29 | + /** |
|
30 | + * @return UpdateAbstract |
|
31 | + */ |
|
21 | 32 | public function where($val1, $val2, $operator = '=', $bind = true, $join = 'AND'); |
22 | 33 | |
23 | 34 | } |