Completed
Push — master ( f42128...f70f0b )
by James Ekow Abaka
01:39
created
src/descriptors/SqliteDescriptor.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -65,6 +65,9 @@
 block discarded – undo
65 65
         }
66 66
     }
67 67
 
68
+    /**
69
+     * @param string $unique
70
+     */
68 71
     private function getIndexDetails($table, $unique)
69 72
     {
70 73
         $indices = $this->driver->query("pragma index_list({$table['name']})");
Please login to merge, or discard this patch.
src/Descriptor.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,8 @@  discard block
 block discarded – undo
38 38
      * @param string $schema The name of the schema whose tables should be
39 39
      *     describled.
40 40
      * @param array<string> An array contianing names of specific tables 
41
-     *     who's descriptions should be retrieved. 
41
+     *     who's descriptions should be retrieved.
42
+     * @param boolean $includeViews 
42 43
      * @return array<array>  
43 44
      */
44 45
     abstract protected function getTables($schema, $requestedTables, $includeViews);
@@ -339,6 +340,9 @@  discard block
 block discarded – undo
339 340
         }
340 341
     }
341 342
 
343
+    /**
344
+     * @param string $defaultValue
345
+     */
342 346
     protected function cleanDefaultValue($defaultValue) {
343 347
         return $defaultValue;
344 348
     }
Please login to merge, or discard this patch.
src/Driver.php 2 patches
Doc Comments   +5 added lines, -3 removed lines patch added patch discarded remove patch
@@ -126,8 +126,7 @@  discard block
 block discarded – undo
126 126
 
127 127
     /**
128 128
      * 
129
-     * @param boolean $status
130
-     * @param \PDOStatement  $result 
129
+     * @param \PDOStatement $statement
131 130
      */
132 131
     private function fetchRows($statement)
133 132
     {
@@ -139,6 +138,9 @@  discard block
 block discarded – undo
139 138
         }
140 139
     }
141 140
 
141
+    /**
142
+     * @param string $query
143
+     */
142 144
     private function prepareQuery($query, $bindData)
143 145
     {
144 146
         $statement = $this->pdo->prepare($query);
@@ -339,7 +341,7 @@  discard block
 block discarded – undo
339 341
 
340 342
     /**
341 343
      * A wrapper around PDO's lastInsertId() method.
342
-     * @return mixed
344
+     * @return string
343 345
      */
344 346
     public function getLastInsertId()
345 347
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,6 @@
 block discarded – undo
3 3
 namespace ntentan\atiaa;
4 4
 
5 5
 use ntentan\atiaa\exceptions\DatabaseDriverException;
6
-use ntentan\panie\Container;
7
-use ntentan\panie\exceptions\ResolutionException;
8 6
 
9 7
 /**
10 8
  * A driver class for connecting to a specific database platform.
Please login to merge, or discard this patch.
src/DbContext.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,9 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace ntentan\atiaa;
4 4
 
5
-use ntentan\panie\Container;
6
-use ntentan\utils\Text;
7
-
8 5
 class DbContext
9 6
 {
10 7
 
Please login to merge, or discard this patch.
src/drivers/SqliteDriver.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -25,8 +25,6 @@
 block discarded – undo
25 25
 
26 26
 namespace ntentan\atiaa\drivers;
27 27
 
28
-use ntentan\panie\Container;
29
-
30 28
 /**
31 29
  * SQLite driver implementation
32 30
  */
Please login to merge, or discard this patch.