Tweak with CamelCase matching inheritDoc

Tweak with CamelCase in @inheritDoc. Added test.

In the official documentation:
http://phpdoc.org/docs/latest/guides/inheritance.html

The issues in Scrutinizer are same reason of this PR.