Issue #2940108 by yo30, quietone, maxocub: getLegacyDrupalVersion() returns string not int as documented