@@ -124,7 +124,7 @@ discard block |
||
124 | 124 | * (PHP 5 >= 5.0.0)<br/> |
125 | 125 | * Return the key of the current element |
126 | 126 | * @link http://php.net/manual/en/iterator.key.php |
127 | - * @return mixed scalar on success, or null on failure. |
|
127 | + * @return integer scalar on success, or null on failure. |
|
128 | 128 | */ |
129 | 129 | public function key() |
130 | 130 | { |
@@ -180,7 +180,7 @@ discard block |
||
180 | 180 | * (PHP 5 >= 5.0.0)<br/> |
181 | 181 | * Return the current element |
182 | 182 | * @link http://php.net/manual/en/iterator.current.php |
183 | - * @return mixed Can return any type. |
|
183 | + * @return ResultSetInterface|null Can return any type. |
|
184 | 184 | */ |
185 | 185 | public function current() |
186 | 186 | { |
@@ -28,7 +28,7 @@ |
||
28 | 28 | * @param string $query The query string |
29 | 29 | * |
30 | 30 | * @throws DatabaseException |
31 | - * @return array|int The result array or number of rows affected |
|
31 | + * @return ResultSet The result array or number of rows affected |
|
32 | 32 | */ |
33 | 33 | public function query($query) |
34 | 34 | { |
@@ -182,7 +182,7 @@ |
||
182 | 182 | * (PHP 5 >= 5.0.0)<br/> |
183 | 183 | * Return the key of the current element |
184 | 184 | * @link http://php.net/manual/en/iterator.key.php |
185 | - * @return mixed scalar on success, or null on failure. |
|
185 | + * @return integer scalar on success, or null on failure. |
|
186 | 186 | */ |
187 | 187 | public function key() |
188 | 188 | { |
@@ -847,12 +847,12 @@ |
||
847 | 847 | return $this; |
848 | 848 | } |
849 | 849 | |
850 | - /** |
|
851 | - * |
|
852 | - * Get the where array |
|
853 | - * |
|
854 | - * @return array |
|
855 | - */ |
|
850 | + /** |
|
851 | + * |
|
852 | + * Get the where array |
|
853 | + * |
|
854 | + * @return array |
|
855 | + */ |
|
856 | 856 | public function getWhere() |
857 | 857 | { |
858 | 858 | return $this->where; |