Completed
Push — dev ( 4e6859...52be7c )
by James Ekow Abaka
25:10
created
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.
src/manipulators/Sqlite.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
     /**
95 95
      * Generate the query for a foreign key constraint.
96 96
      *
97
-     * @param array<array> $constraintDetails
97
+     * @param array<array> $constraints
98 98
      * @return string
99 99
      */
100 100
     private function getFKConstraintQuery($constraints, $options)
@@ -363,6 +363,9 @@  discard block
 block discarded – undo
363 363
         $this->query("DROP VIEW `{$details['name']}`");
364 364
     }
365 365
 
366
+    /**
367
+     * @param string $direction
368
+     */
366 369
     public function convertTypes($type, $direction, $length)
367 370
     {
368 371
         $destinationType = null;
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.