Commit f2797191 by Carsten Brandt

be consistent, use singular inheritdoc

parent adb28dee
...@@ -202,7 +202,7 @@ class ApiMarkdown extends GithubMarkdown ...@@ -202,7 +202,7 @@ class ApiMarkdown extends GithubMarkdown
} }
/** /**
* @inheritDocs * @inheritDoc
*/ */
protected function renderHeadline($block) protected function renderHeadline($block)
{ {
......
...@@ -184,7 +184,7 @@ class Context extends Component ...@@ -184,7 +184,7 @@ class Context extends Component
} }
$parent = $this->classes[$class->parentClass]; $parent = $this->classes[$class->parentClass];
foreach ($method->tags as $tag) { foreach ($method->tags as $tag) {
if (strtolower($tag->getName()) == 'inheritdoc' || strtolower($tag->getName()) == 'inheritdocs') { if (strtolower($tag->getName()) == 'inheritdoc') {
if (isset($parent->methods[$method->name])) { if (isset($parent->methods[$method->name])) {
$method = $parent->methods[$method->name]; $method = $parent->methods[$method->name];
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment