Completed
Pull Request — master (#1739)
by mark
02:27
created
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/Create.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
      *
91 91
      * @throws \Exception
92 92
      *
93
-     * @return mixed
93
+     * @return string
94 94
      */
95 95
     protected function getMigrationPath(InputInterface $input, OutputInterface $output)
96 96
     {
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
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
      *
77 77
      * @throws \Exception
78 78
      *
79
-     * @return mixed
79
+     * @return string
80 80
      */
81 81
     protected function getSeedPath(InputInterface $input, OutputInterface $output)
82 82
     {
Please login to merge, or discard this patch.
src/Phinx/Db/Plan/Solver/ActionSplitter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
      *
66 66
      * @param \Phinx\Db\Plan\AlterTable $alter The collection of actions to inspect
67 67
      *
68
-     * @return \Phinx\Db\Plan\AlterTable[] A list of AlterTable that can be executed without
68
+     * @return AlterTable[] A list of AlterTable that can be executed without
69 69
      * this type of conflict
70 70
      */
71 71
     public function __invoke(AlterTable $alter)
Please login to merge, or discard this patch.
src/Phinx/Db/Table.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -284,8 +284,8 @@
 block discarded – undo
284 284
      *
285 285
      * Valid options can be: limit, default, null, precision or scale.
286 286
      *
287
-     * @param string|\Phinx\Db\Table\Column $columnName Column Name
288
-     * @param string|\Phinx\Util\Literal|null $type Column Type
287
+     * @param string $columnName Column Name
288
+     * @param string $type Column Type
289 289
      * @param array $options Column Options
290 290
      *
291 291
      * @throws \InvalidArgumentException
Please login to merge, or discard this patch.
src/Phinx/Db/Adapter/AdapterWrapper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@
 block discarded – undo
127 127
     /**
128 128
      * {@inheritDoc}
129 129
      *
130
-     * @return void
130
+     * @return Column
131 131
      */
132 132
     public function getColumnForType($columnName, $type, array $options)
133 133
     {
Please login to merge, or discard this patch.
src/Phinx/Db/Adapter/SqlServerAdapter.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -421,7 +421,7 @@  discard block
 block discarded – undo
421 421
      * @param string $tableName Table name
422 422
      * @param string $columnName Column name
423 423
      *
424
-     * @return bool|string
424
+     * @return string|false
425 425
      */
426 426
     public function getColumnComment($tableName, $columnName)
427 427
     {
@@ -669,6 +669,8 @@  discard block
 block discarded – undo
669 669
 
670 670
     /**
671 671
      * @inheritDoc
672
+     * @param string $tableName
673
+     * @param string|null $columnName
672 674
      */
673 675
     protected function getDropDefaultConstraint($tableName, $columnName)
674 676
     {
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
@@ -212,7 +212,7 @@
 block discarded – undo
212 212
      * @param string $key Key
213 213
      * @param string $value Value
214 214
      *
215
-     * @return object
215
+     * @return TextWrapper
216 216
      */
217 217
     public function setOption($key, $value)
218 218
     {
Please login to merge, or discard this patch.