Completed
Push — master ( ab22bb...293a21 )
by José
02:40 queued 10s
created
src/Phinx/Db/Adapter/MysqlAdapter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1118,7 +1118,7 @@
 block discarded – undo
1118 1118
 
1119 1119
     /**
1120 1120
      * Returns MySQL column types (inherited and MySQL specified).
1121
-     * @return array
1121
+     * @return string[]
1122 1122
      */
1123 1123
     public function getColumnTypes()
1124 1124
     {
Please login to merge, or discard this patch.
src/Phinx/Wrapper/TextWrapper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -213,7 +213,7 @@
 block discarded – undo
213 213
      *
214 214
      * @param  string $key
215 215
      * @param  string $value
216
-     * @return object
216
+     * @return TextWrapper
217 217
      */
218 218
     public function setOption($key, $value)
219 219
     {
Please login to merge, or discard this patch.
src/Phinx/Console/Command/Create.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
      *
100 100
      * @param \Symfony\Component\Console\Input\InputInterface $input
101 101
      * @param \Symfony\Component\Console\Output\OutputInterface $output
102
-     * @return mixed
102
+     * @return string
103 103
      * @throws \Exception
104 104
      */
105 105
     protected function getMigrationPath(InputInterface $input, OutputInterface $output)
Please login to merge, or discard this patch.
src/Phinx/Db/Table.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -236,7 +236,7 @@
 block discarded – undo
236 236
      *
237 237
      * Valid options can be: limit, default, null, precision or scale.
238 238
      *
239
-     * @param string|\Phinx\Db\Table\Column $columnName Column Name
239
+     * @param string $columnName Column Name
240 240
      * @param string|\Phinx\Util\Literal $type Column Type
241 241
      * @param array $options Column Options
242 242
      * @throws \RuntimeException
Please login to merge, or discard this patch.
src/Phinx/Db/Adapter/SqlServerAdapter.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -568,6 +568,8 @@  discard block
 block discarded – undo
568 568
 
569 569
     /**
570 570
      * {@inheritdoc}
571
+     * @param string $tableName
572
+     * @param string|null $columnName
571 573
      */
572 574
     protected function getDropDefaultConstraint($tableName, $columnName)
573 575
     {
@@ -580,6 +582,9 @@  discard block
 block discarded – undo
580 582
         return $this->getDropForeignKeyInstructions($tableName, $defaultConstraint);
581 583
     }
582 584
 
585
+    /**
586
+     * @return string
587
+     */
583 588
     protected function getDefaultConstraint($tableName, $columnName)
584 589
     {
585 590
         $sql = "SELECT
@@ -1075,6 +1080,7 @@  discard block
 block discarded – undo
1075 1080
      * Gets the SqlServer Index Definition for an Index object.
1076 1081
      *
1077 1082
      * @param \Phinx\Db\Table\Index $index Index
1083
+     * @param string $tableName
1078 1084
      * @return string
1079 1085
      */
1080 1086
     protected function getIndexSqlDefinition(Index $index, $tableName)
@@ -1100,6 +1106,7 @@  discard block
 block discarded – undo
1100 1106
      * Gets the SqlServer Foreign Key Definition for an ForeignKey object.
1101 1107
      *
1102 1108
      * @param \Phinx\Db\Table\ForeignKey $foreignKey
1109
+     * @param string $tableName
1103 1110
      * @return string
1104 1111
      */
1105 1112
     protected function getForeignKeySqlDefinition(ForeignKey $foreignKey, $tableName)
Please login to merge, or discard this patch.
src/Phinx/Db/Util/AlterInstructions.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
      * Constructor
46 46
      *
47 47
      * @param array $alterParts SQL snippets to be added to a single ALTER instruction per table
48
-     * @param array $postSteps SQL commands to be executed after the ALTER instruction
48
+     * @param string[] $postSteps SQL commands to be executed after the ALTER instruction
49 49
      */
50 50
     public function __construct(array $alterParts = [], array $postSteps = [])
51 51
     {
Please login to merge, or discard this patch.
src/Phinx/Migration/Manager/Environment.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -203,7 +203,7 @@
 block discarded – undo
203 203
     /**
204 204
      * Gets the environment's options.
205 205
      *
206
-     * @return array
206
+     * @return AdapterInterface
207 207
      */
208 208
     public function getOptions()
209 209
     {
Please login to merge, or discard this patch.
src/Phinx/Console/Command/SeedCreate.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
      *
85 85
      * @param \Symfony\Component\Console\Input\InputInterface $input
86 86
      * @param \Symfony\Component\Console\Output\OutputInterface $output
87
-     * @return mixed
87
+     * @return string
88 88
      * @throws \Exception
89 89
      */
90 90
     protected function getSeedPath(InputInterface $input, OutputInterface $output)
Please login to merge, or discard this patch.