mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-11-15 20:09:44 +00:00
DAT-2816 docs comments changed
This commit is contained in:
parent
a6d3f2fd07
commit
8d53872cbf
|
@ -15,7 +15,9 @@ class Node {
|
|||
protected $xmlNode;
|
||||
protected $parent = null;
|
||||
|
||||
/* @var $externalParser ExternalParser */
|
||||
/**
|
||||
* @var $externalParser ExternalParser
|
||||
*/
|
||||
protected $externalParser;
|
||||
|
||||
public function __construct( \SimpleXMLElement $xmlNode, $infoboxData ) {
|
||||
|
@ -23,12 +25,16 @@ class Node {
|
|||
$this->infoboxData = $infoboxData;
|
||||
}
|
||||
|
||||
/** @return mixed */
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function getParent() {
|
||||
return $this->parent;
|
||||
}
|
||||
|
||||
/** @param mixed $parent */
|
||||
/**
|
||||
* @param mixed $parent
|
||||
*/
|
||||
public function setParent( Node $parent ) {
|
||||
$this->parent = $parent;
|
||||
}
|
||||
|
@ -37,7 +43,9 @@ class Node {
|
|||
return true;
|
||||
}
|
||||
|
||||
/** @return ExternalParser */
|
||||
/**
|
||||
* @return ExternalParser
|
||||
*/
|
||||
public function getExternalParser() {
|
||||
if ( !isset( $this->externalParser ) ) {
|
||||
$this->setExternalParser( new SimpleParser() );
|
||||
|
@ -46,7 +54,9 @@ class Node {
|
|||
return $this->externalParser;
|
||||
}
|
||||
|
||||
/** @param mixed $externalParser */
|
||||
/**
|
||||
* @param mixed $externalParser
|
||||
*/
|
||||
public function setExternalParser( ExternalParser $externalParser ) {
|
||||
$this->externalParser = $externalParser;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue