sitemap-plugin
sitemap-plugin copied to clipboard
setChangeFrequency casts to string
Should we cast it on setting, or should we cast it on getting (or parsing)?
See https://github.com/stefandoorn/sitemap-plugin/blob/673fcd6b5b3d556053ef9d761e54583986f94e59/src/Model/Url.php#L63
Cast on setting so you only do it once. No reason to delay it. That's my opinion :)