Completed
Push — master ( 220de0...482fe1 )
by smiley
04:40 queued 02:38
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/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.
src/Drivers/DriverInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -28,6 +28,7 @@
 block discarded – undo
28 28
 	 * @param \chillerlan\Traits\ContainerInterface $options
29 29
 	 * @param \Psr\SimpleCache\CacheInterface|null  $cache
30 30
 	 * @param \Psr\Log\LoggerInterface|null         $logger
31
+	 * @return void
31 32
 	 */
32 33
 	public function __construct(ContainerInterface $options, CacheInterface $cache = null, LoggerInterface $logger = null);
33 34
 
Please login to merge, or discard this patch.
src/Dumper.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;
14 14
 
15
-use chillerlan\Traits\ContainerInterface;
16 15
 use Psr\Log\LoggerInterface;
17 16
 use Psr\SimpleCache\CacheInterface;
17
+use chillerlan\Traits\ContainerInterface;
18 18
 
19 19
 /**
20 20
  * @todo WIP
Please login to merge, or discard this patch.
src/Drivers/MSSqlSrvPDO.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 PDO;
15 16
 use chillerlan\Database\Dialects\MSSQL;
16 17
 use chillerlan\Traits\ContainerInterface;
17
-use PDO;
18 18
 use Psr\{
19 19
 	Log\LoggerInterface, SimpleCache\CacheInterface
20 20
 };
Please login to merge, or discard this patch.