sitemap icon indicating copy to clipboard operation
sitemap copied to clipboard

A typo in a flush() function call

Open DarkSilence opened this issue 3 years ago • 1 comments

Since self::flush accepts an int as a parameter but a bool is provided here:

https://github.com/samdark/sitemap/blob/a7ba091766afeb5fad1ea3056b30f26c3a620962/Sitemap.php#L184

It seems that it's a typo of some kind. Probably

$this->flush(0);

should be there.

DarkSilence avatar Jan 10 '22 06:01 DarkSilence

Yes, looks valid. Thanks.

samdark avatar Jan 10 '22 12:01 samdark