Made hasSemicolon public to bring it inline with the docs

The documentation linked below has an example implementation which uses hasSemicolon. The hasSemicolon() method is marked as private in OTP.php. I've changed it to public.

https://github.com/Spomky-Labs/otphp/blob/3.0.x/doc/Extend.md