Fix PhanUndeclaredFunctionInCallable by disabling notification in specific case
This commit is contained in:
parent
46d66b7825
commit
7d15cd3267
1 changed files with 2 additions and 0 deletions
|
|
@ -289,7 +289,9 @@ class RssParser
|
|||
}
|
||||
|
||||
xml_set_object($xmlparser, $this);
|
||||
// @phan-suppress-next-line PhanUndeclaredFunctionInCallable
|
||||
xml_set_element_handler($xmlparser, 'feed_start_element', 'feed_end_element');
|
||||
// @phan-suppress-next-line PhanUndeclaredFunctionInCallable
|
||||
xml_set_character_data_handler($xmlparser, 'feed_cdata');
|
||||
|
||||
$status = xml_parse($xmlparser, $str, false);
|
||||
|
|
|
|||
Loading…
Reference in a new issue