From 8b733a79bdd8c00ba2400be3f4085e90c977c2c1 Mon Sep 17 00:00:00 2001 From: Noel Chiasson Date: Mon, 20 Mar 2023 10:16:11 -0300 Subject: [PATCH] Updating function signatures to correct fatal errors --- src/Commands/MigrateCommands.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Commands/MigrateCommands.php b/src/Commands/MigrateCommands.php index 8ce8c6ef..d2b44fac 100644 --- a/src/Commands/MigrateCommands.php +++ b/src/Commands/MigrateCommands.php @@ -90,7 +90,7 @@ public function batchImport($migration_names = '', array $options = [ /** * {@inheritdoc} */ - protected function executeMigration(MigrationInterface $migration, $migration_id, array $options = []) { + protected function executeMigration(MigrationInterface $migration, $migration_id, array $options = []): void { // Keep track of all migrations run during this command so the same // migration is not run multiple times. static $executed_migrations = []; @@ -232,7 +232,7 @@ public function rollback($migration_names = '', array $options = [ 'skip-progress-bar' => FALSE, 'continue-on-failure' => FALSE, 'statuses' => self::REQ, - ]) { + ]): void { $group_names = $options['group']; $tag_names = $options['tag']; $all = $options['all'];