Completed
Push — master ( 619bb2...40fc20 )
by smiley
03:09
created
src/Drivers/DriverAbstract.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@
 block discarded – undo
104 104
 	/**
105 105
 	 * @param string   $sql
106 106
 	 * @param iterable $data
107
-	 * @param          $callback
107
+	 * @param          callable $callback
108 108
 	 *
109 109
 	 * @return bool
110 110
 	 */
Please login to merge, or discard this patch.
src/Drivers/DriverInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -27,6 +27,7 @@
 block discarded – undo
27 27
 	 * @param \chillerlan\Database\DatabaseOptions $options
28 28
 	 * @param \Psr\SimpleCache\CacheInterface|null $cache
29 29
 	 * @param \Psr\Log\LoggerInterface|null        $logger
30
+	 * @return void
30 31
 	 */
31 32
 	public function __construct(DatabaseOptions $options, CacheInterface $cache = null, LoggerInterface $logger = null);
32 33
 
Please login to merge, or discard this patch.
src/Drivers/MySQLiDrv.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@
 block discarded – undo
12 12
 
13 13
 namespace chillerlan\Database\Drivers;
14 14
 
15
+use Exception;
15 16
 use chillerlan\Database\Dialects\MySQL;
16 17
 use chillerlan\Database\Result;
17
-use Exception;
18 18
 use mysqli;
19 19
 
20 20
 /**
Please login to merge, or discard this patch.
src/Drivers/PDODriverAbstract.php 1 patch
Unused Use Statements   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,8 @@
 block discarded – undo
12 12
 
13 13
 namespace chillerlan\Database\Drivers;
14 14
 
15
-use PDO, PDOStatement;
15
+use PDO;
16
+use PDOStatement;
16 17
 
17 18
 /**
18 19
  * @property \PDO $db
Please login to merge, or discard this patch.
src/Drivers/PostgreSQL.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
 	}
87 87
 
88 88
 	/**
89
-	 * @param             $result
89
+	 * @param             resource $result
90 90
 	 * @param string|null $index
91 91
 	 * @param bool        $assoc
92 92
 	 *
Please login to merge, or discard this patch.
src/Query/Statement.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -24,6 +24,7 @@
 block discarded – undo
24 24
 	 * @param \chillerlan\Database\Drivers\DriverInterface $db
25 25
 	 * @param \chillerlan\Database\Dialects\Dialect        $dialect
26 26
 	 * @param \Psr\Log\LoggerInterface|null                $logger
27
+	 * @return void
27 28
 	 */
28 29
 	public function __construct(DriverInterface $db, Dialect $dialect, LoggerInterface $logger = null);
29 30
 
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@
 block discarded – undo
12 12
 
13 13
 namespace chillerlan\Database\Query;
14 14
 
15
+use Psr\Log\LoggerInterface;
15 16
 use chillerlan\Database\Dialects\Dialect;
16 17
 use chillerlan\Database\Drivers\DriverInterface;
17
-use Psr\Log\LoggerInterface;
18 18
 
19 19
 interface Statement{
20 20
 
Please login to merge, or discard this patch.
src/ResultInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -22,6 +22,7 @@
 block discarded – undo
22 22
 	 * @param iterable|null $data
23 23
 	 * @param string|null   $sourceEncoding
24 24
 	 * @param string        $destEncoding
25
+	 * @return void
25 26
 	 */
26 27
 	public function __construct(iterable $data = null, string $sourceEncoding = null, string $destEncoding = null);
27 28
 
Please login to merge, or discard this patch.