Completed
Push — master ( bef9a7...2ef34e )
by James Ekow Abaka
03:05
created
src/commands/Import.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -85,6 +85,9 @@  discard block
 block discarded – undo
85 85
         return $this->newVersion;
86 86
     }
87 87
 
88
+    /**
89
+     * @return string
90
+     */
88 91
     private function generateSchemaCode($description, $ref = false, $prefix = '')
89 92
     {
90 93
         $refprefix = $ref === true ? 'ref' : '->';
@@ -193,6 +196,9 @@  discard block
 block discarded – undo
193 196
         }
194 197
     }
195 198
 
199
+    /**
200
+     * @param string $type
201
+     */
196 202
     protected function importConstraints($type, $constraints)
197 203
     {
198 204
         foreach ($constraints as $name => $constraint) {
Please login to merge, or discard this patch.
src/commands/Migrate.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -63,6 +63,9 @@
 block discarded – undo
63 63
         $this->io = $io;
64 64
     }
65 65
 
66
+    /**
67
+     * @param string $filter
68
+     */
66 69
     public function setupOptions($options, &$filter)
67 70
     {
68 71
         if (isset($options['no-foreign-keys'])) {
Please login to merge, or discard this patch.
src/commands/Rollback.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -62,6 +62,9 @@
 block discarded – undo
62 62
         }
63 63
     }
64 64
 
65
+    /**
66
+     * @param \yentu\manipulators\AbstractDatabaseManipulator $db
67
+     */
65 68
     private function getOperations($db, $set)
66 69
     {
67 70
         $operations = [];
Please login to merge, or discard this patch.
src/manipulators/AbstractDatabaseManipulator.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -177,6 +177,9 @@
 block discarded – undo
177 177
         return $this->schemaDescription;
178 178
     }
179 179
 
180
+    /**
181
+     * @param string $version
182
+     */
180 183
     public function setVersion($version)
181 184
     {
182 185
         $this->query('INSERT INTO yentu_history(version) values (?)', array($version));
Please login to merge, or discard this patch.
src/manipulators/Mysql.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -34,6 +34,9 @@
 block discarded – undo
34 34
     private $autoIncrementPending;
35 35
     private $placeholders = array();
36 36
 
37
+    /**
38
+     * @param string $direction
39
+     */
37 40
     public function convertTypes($type, $direction, $length = null)
38 41
     {
39 42
         $types = array(
Please login to merge, or discard this patch.
src/SchemaDescription.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -549,6 +549,9 @@
 block discarded – undo
549 549
         
550 550
     }
551 551
 
552
+    /**
553
+     * @param AbstractDatabaseManipulator $manipulator
554
+     */
552 555
     public static function wrap($description, $manipulator)
553 556
     {
554 557
         return new SchemaDescription($description, $manipulator);
Please login to merge, or discard this patch.