Skip to content

Commit

Permalink
Doc comment above class doesn't have to exist if it has a stub
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Aug 12, 2020
1 parent 587ec84 commit 17315cb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,6 @@ private function createMethods(
return $methods;
}

$docComment = $classReflection->getNativeReflection()->getDocComment();
if ($docComment === false) {
return $methods;
}

$methodTags = $classReflection->getMethodTags();
foreach ($methodTags as $methodName => $methodTag) {
$parameters = [];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,6 @@ private function createProperties(
return $properties;
}

$docComment = $classReflection->getNativeReflection()->getDocComment();
if ($docComment === false) {
return $properties;
}

$propertyTags = $classReflection->getPropertyTags();
foreach ($propertyTags as $propertyName => $propertyTag) {
$properties[$propertyName] = new AnnotationPropertyReflection(
Expand Down

0 comments on commit 17315cb

Please sign in to comment.