We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8fbd060 + 8f4f4dc commit dfa0b5fCopy full SHA for dfa0b5f
src/PhpWord/Element/AbstractElement.php
@@ -96,7 +96,7 @@ abstract class AbstractElement
96
/**
97
* A reference to the parent
98
*
99
- * @var \PhpOffice\PhpWord\Element\AbstractElement
+ * @var AbstractElement|null
100
*/
101
private $parent;
102
@@ -335,6 +335,11 @@ public function setCommentRangeEnd(Comment $value)
335
$this->commentRangeEnd->setEndElement($this);
336
}
337
338
+ /**
339
+ * Get parent element
340
+ *
341
+ * @return AbstractElement|null
342
+ */
343
public function getParent()
344
{
345
return $this->parent;
0 commit comments