Skip to content

Commit 92f7e00

Browse files
authored
Merge pull request #3593 from Instrye/patch-2
[CI SKIP] Fix. Migration userguide parameter error
2 parents d03f3ed + 52de30c commit 92f7e00

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

user_guide_src/source/dbmgmt/migration.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -323,17 +323,17 @@ Class Reference
323323
:returns: The current MigrationRunner instance
324324
:rtype: CodeIgniter\\Database\\MigrationRunner
325325

326-
Sets the path the library should look for migration files::
326+
Sets the namespace the library should look for migration files::
327327

328-
$migration->setNamespace($path)
328+
$migration->setNamespace($namespace)
329329
->latest();
330330
.. php:method:: setGroup($group)
331331
332332
:param string $group: database group name.
333333
:returns: The current MigrationRunner instance
334334
:rtype: CodeIgniter\\Database\\MigrationRunner
335335

336-
Sets the path the library should look for migration files::
336+
Sets the group the library should look for migration files::
337337

338-
$migration->setNamespace($path)
338+
$migration->setGroup($group)
339339
->latest();

0 commit comments

Comments
 (0)