Skip to content

Commit 2f02ec0

Browse files
committed
docs: add @param
1 parent 171244d commit 2f02ec0

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

system/Database/MigrationRunner.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,8 @@ public function findNamespaceMigrations(string $namespace): array
448448
/**
449449
* Create a migration object from a file path.
450450
*
451+
* @param string $path Full path to a valid migration file.
452+
*
451453
* @return false|object Returns the migration object, or false on failure
452454
*/
453455
protected function migrationFromFile(string $path, string $namespace)
@@ -525,6 +527,8 @@ public function setSilent(bool $silent)
525527

526528
/**
527529
* Extracts the migration number from a filename
530+
*
531+
* @param string $migration A migration filename w/o path.
528532
*/
529533
protected function getMigrationNumber(string $migration): string
530534
{

0 commit comments

Comments
 (0)