I've created a PR for fixing:
https://github.com/ory/hydra/issues/3137
It is very small change; a few characters in 1 line, which I believe is already covered by automated tests.
However Codecov reports that it impacts 124 files and make the overall test coverage drop by 1,51%
This does not seem right to me. anyone who can help me understand why I am getting this feedback?