fix HeadLink docblock method declaration hints
Merge branch 'cs/#6038-headlink-docblock-optional-params-hinting' into develop

Optional type hints as of phpDocumentor/phpDocumentor2#1194

Close #6038
Forward Port #6038