@@ -105,6 +105,10 @@ discard block |
||
| 105 | 105 | */ |
| 106 | 106 | private $state = self::STATE_NONE; |
| 107 | 107 | |
| 108 | + /** |
|
| 109 | + * @param string $version |
|
| 110 | + * @param string $class |
|
| 111 | + */ |
|
| 108 | 112 | public function __construct(Configuration $configuration, $version, $class) |
| 109 | 113 | { |
| 110 | 114 | $this->configuration = $configuration; |
@@ -198,7 +202,7 @@ discard block |
||
| 198 | 202 | * @param string $path The path to write the migration SQL file. |
| 199 | 203 | * @param string $direction The direction to execute. |
| 200 | 204 | * |
| 201 | - * @return boolean $written |
|
| 205 | + * @return integer $written |
|
| 202 | 206 | */ |
| 203 | 207 | public function writeSqlFile($path, $direction = self::DIRECTION_UP) |
| 204 | 208 | { |
@@ -348,6 +352,9 @@ discard block |
||
| 348 | 352 | } |
| 349 | 353 | } |
| 350 | 354 | |
| 355 | + /** |
|
| 356 | + * @param double $queryStart |
|
| 357 | + */ |
|
| 351 | 358 | private function outputQueryTime($queryStart, $timeAllQueries = false) |
| 352 | 359 | { |
| 353 | 360 | if ($timeAllQueries !== false) { |
@@ -361,7 +368,7 @@ discard block |
||
| 361 | 368 | /** |
| 362 | 369 | * Returns the time this migration version took to execute |
| 363 | 370 | * |
| 364 | - * @return integer $time The time this migration version took to execute |
|
| 371 | + * @return double $time The time this migration version took to execute |
|
| 365 | 372 | */ |
| 366 | 373 | public function getTime() |
| 367 | 374 | { |
@@ -122,6 +122,9 @@ |
||
| 122 | 122 | } |
| 123 | 123 | } |
| 124 | 124 | |
| 125 | + /** |
|
| 126 | + * @param \Doctrine\DBAL\Migrations\Version[] $migrations |
|
| 127 | + */ |
|
| 125 | 128 | private function showVersions($migrations, Configuration $configuration, OutputInterface $output) |
| 126 | 129 | { |
| 127 | 130 | $migratedVersions = $configuration->getMigratedVersions(); |