0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-12-23 00:41:52 +00:00

Fixed missing return statement

Fixes:
127 Method HTMLPurifier_VarParser::parse() should return string but return statement is missing
This commit is contained in:
Michael Kliewe 2022-11-18 22:51:52 +01:00 committed by GitHub
parent e55fead09f
commit 8f309ba9c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -125,6 +125,7 @@ class HTMLPurifier_VarParser
$this->errorInconsistent(get_class($this), $type); $this->errorInconsistent(get_class($this), $type);
} }
$this->errorGeneric($var, $type); $this->errorGeneric($var, $type);
return null;
} }
/** /**