Skip to content

Commit 31f2e2b

Browse files
committed
add phpdoc
Signed-off-by: Matthew Peveler <[email protected]>
1 parent a0aaaba commit 31f2e2b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/Phinx/Migration/Manager.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,14 @@ public function migrateToDateTime(string $environment, DateTime $dateTime, bool
301301
}
302302
}
303303

304+
/**
305+
* Migrate an environment to a specific number of migrations.
306+
*
307+
* @param string $environment Environment
308+
* @param int $count Number of migrations to apply
309+
* @param bool $fake flag that if true, we just record running the migration, but not actually do the migration
310+
* @return void
311+
*/
304312
public function migrateToCount(string $environment, int $count, bool $fake = false): void
305313
{
306314
$versions = array_keys($this->getMigrations($environment));

0 commit comments

Comments
 (0)