Scrutinizer Auto-Fixes

This patch was automatically generated as part of the following inspection:
https://scrutinizer-ci.com/g/timw4mail/Query/inspections/89ed2aa4-7aae-45bb-9289-ebb27a60ef13

Enabled analysis tools:
 - PHP Analyzer
 - PHP Copy/Paste Detector
 - PHP PDepend
This commit is contained in:
Scrutinizer Auto-Fixer 2014-03-18 00:35:25 +01:00 committed by Scrutinizer
parent 5e464ef158
commit 2b4154a91b
6 changed files with 9 additions and 9 deletions

View File

@ -82,7 +82,7 @@ abstract class DB_PDO extends PDO {
* *
* @param string $sql * @param string $sql
* @param array $data * @param array $data
* @return mixed PDOStatement / FALSE * @return PDOStatement PDOStatement / FALSE
* @throws InvalidArgumentException * @throws InvalidArgumentException
*/ */
public function prepare_query($sql, $data) public function prepare_query($sql, $data)

View File

@ -856,7 +856,7 @@ class Query_Builder implements iQuery_Builder {
* *
* @param int $limit * @param int $limit
* @param int $offset * @param int $offset
* @return string * @return Query_Builder
*/ */
public function limit($limit, $offset=FALSE) public function limit($limit, $offset=FALSE)
{ {

View File

@ -108,7 +108,7 @@ class Firebird extends DB_PDO {
* Wrapper public function to better match PDO * Wrapper public function to better match PDO
* *
* @param string $sql * @param string $sql
* @return $this * @return Firebird_Result
* @throws PDOException * @throws PDOException
*/ */
public function query($sql) public function query($sql)
@ -135,7 +135,7 @@ class Firebird extends DB_PDO {
* *
* @param string $query * @param string $query
* @param array $options * @param array $options
* @return $this * @return Firebird_Result
* @throws PDOException * @throws PDOException
*/ */
public function prepare($query, $options=NULL) public function prepare($query, $options=NULL)
@ -155,7 +155,7 @@ class Firebird extends DB_PDO {
/** /**
* Start a database transaction * Start a database transaction
* *
* @return bool * @return boolean|null
*/ */
public function beginTransaction() public function beginTransaction()
{ {
@ -193,7 +193,7 @@ class Firebird extends DB_PDO {
* *
* @param string $sql * @param string $sql
* @param array $args * @param array $args
* @return resource * @return Firebird_Result
*/ */
public function prepare_execute($sql, $args) public function prepare_execute($sql, $args)
{ {

View File

@ -126,7 +126,7 @@ class Firebird_Result extends PDOStatement {
* Run a prepared statement query * Run a prepared statement query
* *
* @param array $args * @param array $args
* @return bool * @return Firebird_Result
*/ */
public function execute($args = NULL) public function execute($args = NULL)
{ {

View File

@ -80,7 +80,7 @@ class SQLite extends DB_PDO {
/** /**
* List system tables for the current database * List system tables for the current database
* *
* @return array * @return string[]
*/ */
public function get_system_tables() public function get_system_tables()
{ {

View File

@ -172,7 +172,7 @@ SQL;
/** /**
* SQL to show list of field types * SQL to show list of field types
* *
* @return array * @return string[]
*/ */
public function type_list() public function type_list()
{ {