Skip to content

Commit

Permalink
FIX: Fix migration to match extended class
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin-K committed Dec 21, 2020
1 parent b723fb7 commit ae9b599
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Migrations/Mysql/Version20180329042412.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class Version20180329042412 extends AbstractMigration
/**
* @return string
*/
public function getDescription()
public function getDescription(): string
{
return '';
}
Expand All @@ -22,7 +22,7 @@ public function getDescription()
* @param Schema $schema
* @return void
*/
public function up(Schema $schema)
public function up(Schema $schema): void
{
// this up() migration is autogenerated, please modify it to your needs
$this->abortIf($this->connection->getDatabasePlatform()->getName() != 'mysql', 'Migration can only be executed safely on "mysql".');
Expand All @@ -34,7 +34,7 @@ public function up(Schema $schema)
* @param Schema $schema
* @return void
*/
public function down(Schema $schema)
public function down(Schema $schema): void
{
// this down() migration is autogenerated, please modify it to your needs
$this->abortIf($this->connection->getDatabasePlatform()->getName() != 'mysql', 'Migration can only be executed safely on "mysql".');
Expand Down

0 comments on commit ae9b599

Please sign in to comment.