Added return type
This commit is contained in:
parent
8fbd060148
commit
8f4f4dcd48
|
|
@ -96,7 +96,7 @@ abstract class AbstractElement
|
||||||
/**
|
/**
|
||||||
* A reference to the parent
|
* A reference to the parent
|
||||||
*
|
*
|
||||||
* @var \PhpOffice\PhpWord\Element\AbstractElement
|
* @var AbstractElement|null
|
||||||
*/
|
*/
|
||||||
private $parent;
|
private $parent;
|
||||||
|
|
||||||
|
|
@ -335,6 +335,11 @@ abstract class AbstractElement
|
||||||
$this->commentRangeEnd->setEndElement($this);
|
$this->commentRangeEnd->setEndElement($this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get parent element
|
||||||
|
*
|
||||||
|
* @return AbstractElement|null
|
||||||
|
*/
|
||||||
public function getParent()
|
public function getParent()
|
||||||
{
|
{
|
||||||
return $this->parent;
|
return $this->parent;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue