Completed
Push — 1.x ( 5548ea...948040 )
by Akihito
02:25
created
src/NamedPdoModule.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -60,6 +60,12 @@  discard block
 block discarded – undo
60 60
             : $this->configureSingleDsn($this->qualifer, $this->dsn, $this->user, $this->password);
61 61
     }
62 62
 
63
+    /**
64
+     * @param string $qualifer
65
+     * @param string $dsn
66
+     * @param string $user
67
+     * @param string $password
68
+     */
63 69
     private function configureSingleDsn($qualifer, $dsn, $user, $password)
64 70
     {
65 71
         $this->bind(ExtendedPdoInterface::class)
@@ -73,6 +79,13 @@  discard block
 block discarded – undo
73 79
         $this->bind()->annotatedWith("{$qualifer}_password")->toInstance($password);
74 80
     }
75 81
 
82
+    /**
83
+     * @param string $qualifer
84
+     * @param string $dsn
85
+     * @param string $user
86
+     * @param string $password
87
+     * @param string $slaveList
88
+     */
76 89
     private function configureMasterSlaveDsn($qualifer, $dsn, $user, $password, $slaveList)
77 90
     {
78 91
         $locator = new ConnectionLocator();
Please login to merge, or discard this patch.
src/Pagerfanta/AuraSqlQueryPager.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,9 +6,8 @@
 block discarded – undo
6 6
  */
7 7
 namespace Ray\AuraSqlModule\Pagerfanta;
8 8
 
9
-use Aura\Sql\ExtendedPdoInterface;
10
-use Aura\SqlQuery\Common\Select;
11 9
 use Aura\SqlQuery\Common\SelectInterface;
10
+use Aura\Sql\ExtendedPdoInterface;
12 11
 use Pagerfanta\Exception\LogicException;
13 12
 use Pagerfanta\Pagerfanta;
14 13
 use Pagerfanta\View\ViewInterface;
Please login to merge, or discard this patch.