Completed
Pull Request — master (#6)
by James Ekow Abaka
20:00 queued 18:35
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/ChangeLogger.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -23,6 +23,9 @@  discard block
 block discarded – undo
23 23
     private $skipOnErrors = false;
24 24
     private $migrations;
25 25
 
26
+    /**
27
+     * @param string $itemType
28
+     */
26 29
     public function skip($itemType)
27 30
     {
28 31
         $this->skippedItemTypes[] = $itemType;
@@ -41,6 +44,9 @@  discard block
 block discarded – undo
41 44
         $this->dryRun = $dryRun;
42 45
     }
43 46
 
47
+    /**
48
+     * @param string $itemType
49
+     */
44 50
     public function allowOnly($itemType)
45 51
     {
46 52
         $this->allowedItemTypes[] = $itemType;
@@ -70,6 +76,9 @@  discard block
 block discarded – undo
70 76
         $this->migration = $migration;
71 77
     }
72 78
 
79
+    /**
80
+     * @param string[] $matches
81
+     */
73 82
     private function performOperation($method, $matches, $arguments)
74 83
     {
75 84
         try {
Please login to merge, or discard this patch.
src/commands/Reversible.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -28,5 +28,8 @@
 block discarded – undo
28 28
 
29 29
 interface Reversible
30 30
 {
31
+    /**
32
+     * @return void
33
+     */
31 34
     public function reverseActions();
32 35
 }
33 36
\ No newline at end of file
Please login to merge, or discard this patch.