Scrutinizer Auto-Fixes

This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
This commit is contained in:
Scrutinizer Auto-Fixer 2015-11-10 22:30:18 +00:00
parent 3246b548ea
commit 8d65af5c4a
2 changed files with 30 additions and 30 deletions

View File

@ -123,7 +123,7 @@ final class ConnectionManager {
* Parse the passed parameters and return a connection * Parse the passed parameters and return a connection
* *
* @param \stdClass $params * @param \stdClass $params
* @return Query_Builder * @return QueryBuilder
*/ */
public function connect(\stdClass $params) public function connect(\stdClass $params)
{ {

View File

@ -129,7 +129,7 @@ class QueryBuilder extends AbstractQueryBuilder implements QueryBuilderInterface
* Specifies rows to select in a query * Specifies rows to select in a query
* *
* @param string $fields * @param string $fields
* @return Query_Builder * @return QueryBuilder
*/ */
public function select($fields) public function select($fields)
{ {
@ -175,7 +175,7 @@ class QueryBuilder extends AbstractQueryBuilder implements QueryBuilderInterface
* *
* @param string $field * @param string $field
* @param string|FALSE $as * @param string|FALSE $as
* @return Query_Builder * @return QueryBuilder
*/ */
public function select_max($field, $as=FALSE) public function select_max($field, $as=FALSE)
{ {
@ -191,7 +191,7 @@ class QueryBuilder extends AbstractQueryBuilder implements QueryBuilderInterface
* *
* @param string $field * @param string $field
* @param string|bool $as * @param string|bool $as
* @return Query_Builder * @return QueryBuilder
*/ */
public function select_min($field, $as=FALSE) public function select_min($field, $as=FALSE)
{ {
@ -207,7 +207,7 @@ class QueryBuilder extends AbstractQueryBuilder implements QueryBuilderInterface
* *
* @param string $field * @param string $field
* @param string|bool $as * @param string|bool $as
* @return Query_Builder * @return QueryBuilder
*/ */
public function select_avg($field, $as=FALSE) public function select_avg($field, $as=FALSE)
{ {
@ -223,7 +223,7 @@ class QueryBuilder extends AbstractQueryBuilder implements QueryBuilderInterface
* *
* @param string $field * @param string $field
* @param string|bool $as * @param string|bool $as
* @return Query_Builder * @return QueryBuilder
*/ */
public function select_sum($field, $as=FALSE) public function select_sum($field, $as=FALSE)
{ {
@ -237,7 +237,7 @@ class QueryBuilder extends AbstractQueryBuilder implements QueryBuilderInterface
/** /**
* Adds the 'distinct' keyword to a query * Adds the 'distinct' keyword to a query
* *
* @return Query_Builder * @return QueryBuilder
*/ */
public function distinct() public function distinct()
{ {
@ -251,7 +251,7 @@ class QueryBuilder extends AbstractQueryBuilder implements QueryBuilderInterface
/** /**
* Tell the database to give you the query plan instead of result set * Tell the database to give you the query plan instead of result set
* *
* @return Query_Builder * @return QueryBuilder
*/ */
public function explain() public function explain()
{ {
@ -265,7 +265,7 @@ class QueryBuilder extends AbstractQueryBuilder implements QueryBuilderInterface
* Specify the database table to select from * Specify the database table to select from
* *
* @param string $tblname * @param string $tblname
* @return Query_Builder * @return QueryBuilder
*/ */
public function from($tblname) public function from($tblname)
{ {
@ -293,7 +293,7 @@ class QueryBuilder extends AbstractQueryBuilder implements QueryBuilderInterface
* @param string $field * @param string $field
* @param mixed $val * @param mixed $val
* @param string $pos * @param string $pos
* @return Query_Builder * @return QueryBuilder
*/ */
public function like($field, $val, $pos='both') public function like($field, $val, $pos='both')
{ {
@ -308,7 +308,7 @@ class QueryBuilder extends AbstractQueryBuilder implements QueryBuilderInterface
* @param string $field * @param string $field
* @param mixed $val * @param mixed $val
* @param string $pos * @param string $pos
* @return Query_Builder * @return QueryBuilder
*/ */
public function or_like($field, $val, $pos='both') public function or_like($field, $val, $pos='both')
{ {
@ -323,7 +323,7 @@ class QueryBuilder extends AbstractQueryBuilder implements QueryBuilderInterface
* @param string $field * @param string $field
* @param mixed $val * @param mixed $val
* @param string $pos * @param string $pos
* @return Query_Builder * @return QueryBuilder
*/ */
public function not_like($field, $val, $pos='both') public function not_like($field, $val, $pos='both')
{ {
@ -338,7 +338,7 @@ class QueryBuilder extends AbstractQueryBuilder implements QueryBuilderInterface
* @param string $field * @param string $field
* @param mixed $val * @param mixed $val
* @param string $pos * @param string $pos
* @return Query_Builder * @return QueryBuilder
*/ */
public function or_not_like($field, $val, $pos='both') public function or_not_like($field, $val, $pos='both')
{ {
@ -354,7 +354,7 @@ class QueryBuilder extends AbstractQueryBuilder implements QueryBuilderInterface
* *
* @param mixed $key * @param mixed $key
* @param mixed $val * @param mixed $val
* @return Query_Builder * @return QueryBuilder
*/ */
public function having($key, $val=array()) public function having($key, $val=array())
{ {
@ -368,7 +368,7 @@ class QueryBuilder extends AbstractQueryBuilder implements QueryBuilderInterface
* *
* @param mixed $key * @param mixed $key
* @param mixed $val * @param mixed $val
* @return Query_Builder * @return QueryBuilder
*/ */
public function or_having($key, $val=array()) public function or_having($key, $val=array())
{ {
@ -387,7 +387,7 @@ class QueryBuilder extends AbstractQueryBuilder implements QueryBuilderInterface
* @param mixed $key * @param mixed $key
* @param mixed $val * @param mixed $val
* @param mixed $escape * @param mixed $escape
* @return Query_Builder * @return QueryBuilder
*/ */
public function where($key, $val=array(), $escape=NULL) public function where($key, $val=array(), $escape=NULL)
{ {
@ -401,7 +401,7 @@ class QueryBuilder extends AbstractQueryBuilder implements QueryBuilderInterface
* *
* @param string $key * @param string $key
* @param mixed $val * @param mixed $val
* @return Query_Builder * @return QueryBuilder
*/ */
public function or_where($key, $val=array()) public function or_where($key, $val=array())
{ {
@ -415,7 +415,7 @@ class QueryBuilder extends AbstractQueryBuilder implements QueryBuilderInterface
* *
* @param mixed $field * @param mixed $field
* @param mixed $val * @param mixed $val
* @return Query_Builder * @return QueryBuilder
*/ */
public function where_in($field, $val=array()) public function where_in($field, $val=array())
{ {
@ -429,7 +429,7 @@ class QueryBuilder extends AbstractQueryBuilder implements QueryBuilderInterface
* *
* @param string $field * @param string $field
* @param mixed $val * @param mixed $val
* @return Query_Builder * @return QueryBuilder
*/ */
public function or_where_in($field, $val=array()) public function or_where_in($field, $val=array())
{ {
@ -443,7 +443,7 @@ class QueryBuilder extends AbstractQueryBuilder implements QueryBuilderInterface
* *
* @param string $field * @param string $field
* @param mixed $val * @param mixed $val
* @return Query_Builder * @return QueryBuilder
*/ */
public function where_not_in($field, $val=array()) public function where_not_in($field, $val=array())
{ {
@ -457,7 +457,7 @@ class QueryBuilder extends AbstractQueryBuilder implements QueryBuilderInterface
* *
* @param string $field * @param string $field
* @param mixed $val * @param mixed $val
* @return Query_Builder * @return QueryBuilder
*/ */
public function or_where_not_in($field, $val=array()) public function or_where_not_in($field, $val=array())
{ {
@ -473,7 +473,7 @@ class QueryBuilder extends AbstractQueryBuilder implements QueryBuilderInterface
* *
* @param mixed $key * @param mixed $key
* @param mixed $val * @param mixed $val
* @return Query_Builder * @return QueryBuilder
*/ */
public function set($key, $val = NULL) public function set($key, $val = NULL)
{ {
@ -499,7 +499,7 @@ class QueryBuilder extends AbstractQueryBuilder implements QueryBuilderInterface
* @param string $table * @param string $table
* @param string $condition * @param string $condition
* @param string $type * @param string $type
* @return Query_Builder * @return QueryBuilder
*/ */
public function join($table, $condition, $type='') public function join($table, $condition, $type='')
{ {
@ -524,7 +524,7 @@ class QueryBuilder extends AbstractQueryBuilder implements QueryBuilderInterface
* Group the results by the selected field(s) * Group the results by the selected field(s)
* *
* @param mixed $field * @param mixed $field
* @return Query_Builder * @return QueryBuilder
*/ */
public function group_by($field) public function group_by($field)
{ {
@ -550,7 +550,7 @@ class QueryBuilder extends AbstractQueryBuilder implements QueryBuilderInterface
* *
* @param string $field * @param string $field
* @param string $type * @param string $type
* @return Query_Builder * @return QueryBuilder
*/ */
public function order_by($field, $type="") public function order_by($field, $type="")
{ {
@ -589,7 +589,7 @@ class QueryBuilder extends AbstractQueryBuilder implements QueryBuilderInterface
* *
* @param int $limit * @param int $limit
* @param int|bool $offset * @param int|bool $offset
* @return Query_Builder * @return QueryBuilder
*/ */
public function limit($limit, $offset=FALSE) public function limit($limit, $offset=FALSE)
{ {
@ -606,7 +606,7 @@ class QueryBuilder extends AbstractQueryBuilder implements QueryBuilderInterface
/** /**
* Adds a paren to the current query for query grouping * Adds a paren to the current query for query grouping
* *
* @return Query_Builder * @return QueryBuilder
*/ */
public function group_start() public function group_start()
{ {
@ -623,7 +623,7 @@ class QueryBuilder extends AbstractQueryBuilder implements QueryBuilderInterface
* Adds a paren to the current query for query grouping, * Adds a paren to the current query for query grouping,
* prefixed with 'OR' * prefixed with 'OR'
* *
* @return Query_Builder * @return QueryBuilder
*/ */
public function or_group_start() public function or_group_start()
{ {
@ -638,7 +638,7 @@ class QueryBuilder extends AbstractQueryBuilder implements QueryBuilderInterface
* Adds a paren to the current query for query grouping, * Adds a paren to the current query for query grouping,
* prefixed with 'OR NOT' * prefixed with 'OR NOT'
* *
* @return Query_Builder * @return QueryBuilder
*/ */
public function or_not_group_start() public function or_not_group_start()
{ {
@ -652,7 +652,7 @@ class QueryBuilder extends AbstractQueryBuilder implements QueryBuilderInterface
/** /**
* Ends a query group * Ends a query group
* *
* @return Query_Builder * @return QueryBuilder
*/ */
public function group_end() public function group_end()
{ {