diff --git a/core/modules/migrate_drupal/src/MigrationConfigurationTrait.php b/core/modules/migrate_drupal/src/MigrationConfigurationTrait.php index 683823296a8f61733a7c2a681d88d105f4fbd218..b566c821677f4b76c60e9ea7630473180f208a0c 100644 --- a/core/modules/migrate_drupal/src/MigrationConfigurationTrait.php +++ b/core/modules/migrate_drupal/src/MigrationConfigurationTrait.php @@ -125,8 +125,8 @@ protected function getMigrations($database_state_key, $drupal_version) { * @param \Drupal\Core\Database\Connection $connection * The database connection object. * - * @return int|false - * An integer representing the major branch of Drupal core (e.g. '6' for + * @return string|false + * A string representing the major branch of Drupal core (e.g. '6' for * Drupal 6.x), or FALSE if no valid version is matched. */ protected function getLegacyDrupalVersion(Connection $connection) {