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

Type-hints as of phpDocumentor/phpDocumentor2#1194

Close #6038
Digit filter should not touch boolean
Early return for int values which are always just digits
Merge branch 'hotfix/#6277-digit-filter-should-ignore-booleans-backport'

Close #6277