- 🇺🇸United States mikohl
After applying patch, module still caused error.
Fatal error: Declaration of Drupal\kml\Encoder\KmlEncoder::encode($data, $format, array $context = []) must be compatible with Drupal\serialization\Encoder\XmlEncoder::encode($data, $format, array $context = []): string in /code/web/modules/contrib/kml/src/Encoder/KmlEncoder.php on line 23
Attached patch updates the encode method to include the "string" return type.
- 🇺🇸United States mikohl
Embarrassingly, my patch in #4 📌 Automated Drupal 10 compatibility fixes Needs review was in reverse. Here's an updated version that actually applies the update, rather than trying to remove it.