0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-03-23 14:27:02 +00:00

Missing @return

Adding PHPDoc @return statement for code completion in IDE
This commit is contained in:
Sylvain 2015-08-03 10:21:47 +02:00
parent bfbf8a9da1
commit 2c963dcc7f

View File

@ -646,16 +646,25 @@ class HTMLPurifier_Config
return $this->getDefinition($name, true, true); return $this->getDefinition($name, true, true);
} }
/**
* @return HTMLPurifier_HTMLDefinition
*/
public function maybeGetRawHTMLDefinition() public function maybeGetRawHTMLDefinition()
{ {
return $this->getDefinition('HTML', true, true); return $this->getDefinition('HTML', true, true);
} }
/**
* @return HTMLPurifier_CSSDefinition
*/
public function maybeGetRawCSSDefinition() public function maybeGetRawCSSDefinition()
{ {
return $this->getDefinition('CSS', true, true); return $this->getDefinition('CSS', true, true);
} }
/**
* @return HTMLPurifier_URIDefinition
*/
public function maybeGetRawURIDefinition() public function maybeGetRawURIDefinition()
{ {
return $this->getDefinition('URI', true, true); return $this->getDefinition('URI', true, true);