Skip to content
Snippets Groups Projects
Commit 974d0f91 authored by catch's avatar catch
Browse files

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

Issue #2940108 by yo30, quietone, maxocub: getLegacyDrupalVersion() returns string not int as documented
parent e2553504
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment