Add union return types with one class

This commit is contained in:
Máté Kocsis 2019-11-16 18:40:06 +01:00 committed by Christoph M. Becker
parent 100552d4b5
commit c58b12334d
25 changed files with 176 additions and 283 deletions

View file

@ -5,8 +5,7 @@ function libxml_set_streams_context($context): void {}
function libxml_use_internal_errors(bool $use_errors = UNKNOWN): bool {}
/** @return LibXMLError|false */
function libxml_get_last_error() {}
function libxml_get_last_error(): LibXMLError|false {}
function libxml_get_errors(): array {}