getgrav / grav-plugin-sitemap

Grav Sitemap Plugin
https://getgrav.org
MIT License
42 stars 42 forks source link

Remove type hints for PHP 7.3 compatibility #110

Closed rodrigogiraoserrao closed 8 months ago

rodrigogiraoserrao commented 9 months ago

The type hints that I removed require PHP 7.4+ but Grav only requires 7.3.6. By removing these type hints, we make sure the plugin also works for folk running Grav with PHP 7.3.

Fixes #109.