|
@@ -58,7 +58,7 @@ |
|
|
block discarded – undo |
|
58
|
58
|
*/ |
|
59
|
59
|
private function saveFunctionAnnotation(FunctionModelInterface $parent, AnnotationInterface $annotation): void |
|
60
|
60
|
{ |
|
61
|
|
- if (! $parent->isGlobal() && $parent->isPublic()) { |
|
|
61
|
+ if (!$parent->isGlobal() && $parent->isPublic()) { |
|
62
|
62
|
// For public or not global function, all annotation except constructor |
|
63
|
63
|
if ($annotation->getType() !== AnnotationInterface::TYPE_CONSTRUCT) { |
|
64
|
64
|
$annotation->setParentNode($parent); |
Please login to merge, or discard this patch.