intelephense

1.14.41.16.1
lib/stub/libxml/libxml.php
lib/stub/libxml/libxml.php
+3−1
Index: package/lib/stub/libxml/libxml.php
===================================================================
--- package/lib/stub/libxml/libxml.php
+++ package/lib/stub/libxml/libxml.php
@@ -3,8 +3,9 @@
 // Start of libxml v.
 use __IDE\Deprecated;
 use __IDE\StubsElementAvailable;
 use __IDE\Pure;
+use __IDE\LanguageLevelTypeAware;
 
 /**
  * Contains various information about errors thrown by libxml. The error codes
  * are described within the official
@@ -143,9 +144,10 @@
  * </p>
  * @return bool
  * @since 5.4
  */
-function libxml_set_external_entity_loader(?callable $resolver_function): bool {}
+#[LanguageLevelTypeAware(['8.5' => 'true'], default: 'bool')]
+function libxml_set_external_entity_loader(?callable $resolver_function) {}
 
 /**
  * Returns the currently installed external entity loader, i.e. the value which was passed to
  * libxml_set_external_entity_loader() or null if no loader was installed and the default entity loader will be used.