Skip to content

Commit f508bf4

Browse files
authored
Merge pull request #19 from davorminchorov/#17-update-phpdocs
[#17] Update PHP docblocks in blank.stub and NomadicMigration.php to be consistent with the docblocks from the laravel migration stub
2 parents 0d9341b + 038e07c commit f508bf4

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

src/NomadicMigration.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,10 @@ public function __construct(NomadicRepositoryInterface $repository)
7373
}
7474

7575
/**
76-
* Runs the up with the hooks.
76+
* Run the migrations.
77+
*
7778
* @return void
79+
* @throws \Exception
7880
*/
7981
public function up()
8082
{
@@ -84,8 +86,10 @@ public function up()
8486
}
8587

8688
/**
87-
* Runs the down with the hooks.
89+
* Reverse the migrations.
90+
*
8891
* @return void
92+
* @throws \Exception
8993
*/
9094
public function down()
9195
{

src/stubs/blank.stub

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ class DummyClass extends NomadicMigration
88
// DummyTraits
99

1010
/**
11+
* Run the migrations.
12+
*
1113
* @return void
1214
*/
1315
public function migrate()

0 commit comments

Comments
 (0)