[phpstorm-stubs] Update return type for xml_parse_into_struct

This commit is contained in:
Ivan Fedorov 2023-10-30 18:33:43 +01:00
parent ccdaadeec0
commit 82d7d4444e
1 changed files with 2 additions and 1 deletions

View File

@ -371,7 +371,8 @@ function xml_parse(#[LanguageLevelTypeAware(["8.0" => "XMLParser"], default: "re
* success. This is not the same as <b>FALSE</b> and <b>TRUE</b>, be careful with
* operators such as ===.
*/
function xml_parse_into_struct(#[LanguageLevelTypeAware(["8.0" => "XMLParser"], default: "resource")] $parser, string $data, &$values, &$index): int {}
#[LanguageLevelTypeAware(['8.1' => 'int|false'], default: 'int')]
function xml_parse_into_struct(#[LanguageLevelTypeAware(["8.0" => "XMLParser"], default: "resource")] $parser, string $data, &$values, &$index) {}
/**
* Get XML parser error code