Fix some more docblocks

This commit is contained in:
Timothy Warren 2014-04-23 16:27:43 -04:00
parent aa5aa8eb97
commit fddd92a375
5 changed files with 22 additions and 22 deletions

View File

@ -87,7 +87,7 @@ abstract class Abstract_Table {
* Setters
* @param mixed $name
* @param mixed $val
* @return \Query\Table_Column
* @return Abstract_Table
*/
public function __set($name, $val)
{

View File

@ -41,7 +41,7 @@ interface Query_Builder_Interface {
* Selects the maximum value of a field from a query
*
* @param string $field
* @param string $as
* @param string|bool $as
* @return Query_Builder
*/
public function select_max($field, $as=FALSE);
@ -52,7 +52,7 @@ interface Query_Builder_Interface {
* Selects the minimum value of a field from a query
*
* @param string $field
* @param string $as
* @param string|bool $as
* @return Query_Builder
*/
public function select_min($field, $as=FALSE);
@ -63,7 +63,7 @@ interface Query_Builder_Interface {
* Selects the average value of a field from a query
*
* @param string $field
* @param string $as
* @param string|bool $as
* @return Query_Builder
*/
public function select_avg($field, $as=FALSE);
@ -74,7 +74,7 @@ interface Query_Builder_Interface {
* Selects the sum of a field from a query
*
* @param string $field
* @param string $as
* @param string|bool $as
* @return Query_Builder
*/
public function select_sum($field, $as=FALSE);
@ -304,7 +304,7 @@ interface Query_Builder_Interface {
* Set a limit on the current sql statement
*
* @param int $limit
* @param int $offset
* @param int|bool $offset
* @return string
*/
public function limit($limit, $offset=FALSE);
@ -358,9 +358,9 @@ interface Query_Builder_Interface {
* execute current compiled query
*
* @param $table
* @param int $limit
* @param int $offset
* @return PDOStatement
* @param int|bool $limit
* @param int|bool $offset
* @return \PDOStatement
*/
public function get($table='', $limit=FALSE, $offset=FALSE);
@ -371,16 +371,16 @@ interface Query_Builder_Interface {
*
* @param string $table
* @param array $where
* @param int $limit
* @param int $offset
* @return PDOStatement
* @param int|bool $limit
* @param int|bool $offset
* @return \PDOStatement
*/
public function get_where($table, $where=array(), $limit=FALSE, $offset=FALSE);
// --------------------------------------------------------------------------
/**
* Retreive the number of rows in the selected table
* Retrieve the number of rows in the selected table
*
* @param string $table
* @return int
@ -405,7 +405,7 @@ interface Query_Builder_Interface {
*
* @param string $table
* @param mixed $data
* @return PDOStatement
* @return \PDOStatement
*/
public function insert($table, $data=array());
@ -427,7 +427,7 @@ interface Query_Builder_Interface {
*
* @param string $table
* @param mixed $data
* @return PDOStatement
* @return \PDOStatement
*/
public function update($table, $data=array());
@ -438,7 +438,7 @@ interface Query_Builder_Interface {
*
* @param string $table
* @param mixed $where
* @return PDOStatement
* @return \PDOStatement
*/
public function delete($table, $where='');

View File

@ -56,9 +56,9 @@ class Query_Parser {
/**
* Constructor/entry point into parser
*
* @param Query_Builder $db
* @param Driver\Driver_Interface $db
*/
public function __construct(\Query\Driver\Driver_Interface $db)
public function __construct(Driver\Driver_Interface $db)
{
$this->db = $db;
}

View File

@ -60,7 +60,7 @@ class Firebird_Result extends \PDOStatement {
* @param \Query\Driver\Firebird|null $db
* @return void
*/
public function __construct($link, Driver_Interface $db = NULL)
public function __construct($link, Firebird $db = NULL)
{
if ( ! is_null($db)) $this->db = $db;
$this->statement = $link;

View File

@ -79,9 +79,9 @@ SQL;
// --------------------------------------------------------------------------
/**
* Overridden in SQLite class
* List the system tables
*
* @return string
* @return array
*/
public function system_table_list()
{
@ -195,7 +195,7 @@ SQL;
* Get the list of indexes for the current table
*
* @param string $table
* @return array
* @return string
*/
public function index_list($table)
{