Commit 974d0f91 authored by catch's avatar catch

Issue #2940108 by yo30, quietone, maxocub: getLegacyDrupalVersion() returns...

Issue #2940108 by yo30, quietone, maxocub: getLegacyDrupalVersion() returns string not int as documented
parent e2553504
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment