Completed
Branch master (260b19)
by smiley
02:54
created
src/Drivers/SQLite/SQLite3Driver.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -168,7 +168,7 @@
 block discarded – undo
168 168
 	 * @param string $sql    The SQL statement to prepare
169 169
 	 * @param array  $values a multidimensional array with the values, each row represents one line to insert.
170 170
 	 *
171
-	 * @return bool true query success, otherwise false
171
+	 * @return boolean|null true query success, otherwise false
172 172
 	 */
173 173
 	public function multi($sql, array $values){
174 174
 		// TODO: Implement multi() method.
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,10 +12,10 @@
 block discarded – undo
12 12
 
13 13
 namespace chillerlan\Database\Drivers\SQLite;
14 14
 
15
-use chillerlan\Database\DBException;
16
-use chillerlan\Database\Drivers\DBDriverAbstract;
17 15
 use Exception;
18 16
 use SQLite3;
17
+use chillerlan\Database\DBException;
18
+use chillerlan\Database\Drivers\DBDriverAbstract;
19 19
 
20 20
 /**
21 21
  *
Please login to merge, or discard this patch.
src/Drivers/DBDriverInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -86,6 +86,7 @@
 block discarded – undo
86 86
 	 *
87 87
 	 * @param array $stats
88 88
 	 * @internal
89
+	 * @return void
89 90
 	 */
90 91
 	public function addStats(array $stats);
91 92
 
Please login to merge, or discard this patch.
src/Drivers/PostgreSQL/PostgreSQLDriver.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -168,7 +168,7 @@
 block discarded – undo
168 168
 	 * @param string $sql    The SQL statement to prepare
169 169
 	 * @param array  $values a multidimensional array with the values, each row represents one line to insert.
170 170
 	 *
171
-	 * @return bool true query success, otherwise false
171
+	 * @return boolean|null true query success, otherwise false
172 172
 	 */
173 173
 	public function multi($sql, array $values){
174 174
 		// TODO: Implement multi() method.
Please login to merge, or discard this patch.
src/Traits/ClassLoaderTrait.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
 	 * @param string $class     FQCN
27 27
 	 * @param string $interface FQCN
28 28
 	 *
29
-	 * @param mixed  $params    [optional] the following arguments are optional and will be passed to the class constructor if present.
29
+	 * @param \chillerlan\Database\DBOptions  $params    [optional] the following arguments are optional and will be passed to the class constructor if present.
30 30
 	 *
31 31
 	 * @return object of type $interface
32 32
 	 * @throws \chillerlan\Database\DBException
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,8 +12,8 @@
 block discarded – undo
12 12
 
13 13
 namespace chillerlan\Database\Traits;
14 14
 
15
-use chillerlan\Database\DBException;
16 15
 use ReflectionClass;
16
+use chillerlan\Database\DBException;
17 17
 
18 18
 /**
19 19
  * A simple class loader
Please login to merge, or discard this patch.
tests/DBInstanceTest.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,15 +9,14 @@
 block discarded – undo
9 9
 
10 10
 namespace chillerlan\DatabaseTest;
11 11
 
12
+use Dotenv\Dotenv;
12 13
 use chillerlan\Database\DBOptions;
13 14
 use chillerlan\Database\Drivers\MySQLi\MySQLiDriver;
14
-use chillerlan\Database\Drivers\PDO\PDOFirebirdDriver;
15 15
 use chillerlan\Database\Drivers\PDO\PDOMySQLDriver;
16 16
 use chillerlan\Database\Drivers\PDO\PDOPostgresDriver;
17 17
 use chillerlan\Database\Drivers\PDO\PDOSQLiteDriver;
18 18
 use chillerlan\Database\Drivers\PostgreSQL\PostgreSQLDriver;
19 19
 use chillerlan\Database\Drivers\SQLite\SQLite3Driver;
20
-use Dotenv\Dotenv;
21 20
 
22 21
 class DBInstanceTest extends \PHPUnit_Framework_TestCase{
23 22
 
Please login to merge, or discard this patch.
src/Drivers/MySQLi/MySQLiDriver.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,6 +12,7 @@  discard block
 block discarded – undo
12 12
 
13 13
 namespace chillerlan\Database\Drivers\MySQLi;
14 14
 
15
+use ReflectionMethod;
15 16
 use chillerlan\Database\DBException;
16 17
 use chillerlan\Database\Drivers\DBBaseDriver;
17 18
 use chillerlan\Database\Drivers\DBDriverInterface;
@@ -19,8 +20,6 @@  discard block
 block discarded – undo
19 20
 use mysqli_result;
20 21
 use mysqli_sql_exception;
21 22
 use mysqli_stmt;
22
-use ReflectionClass;
23
-use ReflectionMethod;
24 23
 use stdClass;
25 24
 
26 25
 /**
Please login to merge, or discard this patch.
src/Drivers/PDO/PDODriver.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,10 +12,10 @@
 block discarded – undo
12 12
 
13 13
 namespace chillerlan\Database\Drivers\SQLite;
14 14
 
15
-use chillerlan\Database\DBException;
16
-use chillerlan\Database\Drivers\DBDriverAbstract;
17 15
 use Exception;
18 16
 use SQLite3;
17
+use chillerlan\Database\DBException;
18
+use chillerlan\Database\Drivers\DBDriverAbstract;
19 19
 
20 20
 /**
21 21
  *
Please login to merge, or discard this patch.