From e51fe2be5fbdc0c9ab9bd1cad4927bc48736ff6f Mon Sep 17 00:00:00 2001 From: Scrutinizer Auto-Fixer Date: Fri, 8 Aug 2014 20:02:14 +0200 Subject: [PATCH] Scrutinizer Auto-Fixes This patch was automatically generated as part of the following inspection: https://scrutinizer-ci.com/g/timw4mail/Query/inspections/d131279f-a838-49e5-bbfb-20c256a06153 Enabled analysis tools: - PHP Analyzer - PHP Mess Detector - PHP Lines Of Code - PHP PDepend - External Code Coverage - PHP HHVM - PHP Similarity Analyzer - PHP Change Tracking Analyzer --- Query/Driver/Driver_Interface.php | 5 +++-- drivers/sqlite/sqlite_sql.php | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Query/Driver/Driver_Interface.php b/Query/Driver/Driver_Interface.php index 426fb94..fcfc920 100644 --- a/Query/Driver/Driver_Interface.php +++ b/Query/Driver/Driver_Interface.php @@ -30,6 +30,7 @@ interface Driver_Interface { * @param string $username * @param string $password * @param array $driver_options + * @return void */ public function __construct($dsn, $username=NULL, $password=NULL, array $driver_options = array()); @@ -218,14 +219,14 @@ interface Driver_Interface { /** * Get the SQL class for the current driver * - * @return SQL_Interface + * @return SQL\SQL_Interface */ public function get_sql(); /** * Get the Util class for the current driver * - * @return Abstract_Util + * @return Util\Abstract_Util */ public function get_util(); diff --git a/drivers/sqlite/sqlite_sql.php b/drivers/sqlite/sqlite_sql.php index dfcaa91..1ace4a1 100644 --- a/drivers/sqlite/sqlite_sql.php +++ b/drivers/sqlite/sqlite_sql.php @@ -81,7 +81,7 @@ SQL; /** * List the system tables * - * @return array + * @return string[] */ public function system_table_list() { @@ -107,7 +107,7 @@ SQL; /** * Returns sql to list triggers * - * @return NULL + * @return string */ public function trigger_list() {