Skip to content

Restored migration template method return types #2160

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 31, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Phinx/Migration/Migration.change.template.php.dist
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ final class $className extends $baseClassName
* Remember to call "create()" or "update()" and NOT "save()" when working
* with the Table class.
*/
public function change()
public function change(): void
{

}
Expand Down
4 changes: 2 additions & 2 deletions src/Phinx/Migration/Migration.up_down.template.php.dist
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ use $useClassName;

final class $className extends $baseClassName
{
public function up()
public function up(): void
{

}

public function down()
public function down(): void
{

}
Expand Down