/** @return DOMText|false */
public function createTextNode(string $data) {}
- /** @return ?DOMElement */
+ /** @return DOMElement|null */
public function getElementById(string $elementId) {}
/** @return DOMNodeList */
class DOMNamedNodeMap
{
- /** @return ?DOMNode */
+ /** @return DOMNode|null */
public function getNamedItem(string $name) {}
- /** @return ?DOMNode */
+ /** @return DOMNode|null */
public function getNamedItemNS(?string $namespaceURI, string $localName) {}
- /** @return ?DOMNode */
+ /** @return DOMNode|null */
public function item(int $index) {}
/** @return int|false */
/** @return int */
public function getLineNo() {}
- /** @return ?string */
+ /** @return string|null */
public function getNodePath() {}
/** @return bool */
/** @return bool */
public function isSupported(string $feature, string $version) {}
- /** @return ?string */
+ /** @return string|null */
public function lookupNamespaceUri(?string $prefix) {}
- /** @return ?string */
+ /** @return string|null */
public function lookupPrefix(string $namespaceURI) {}
/** @return void */
/** @return int|false */
public function count() {}
- /** @return ?DOMNode */
+ /** @return DOMNode|null */
public function item(int $index) {}
}
public function __construct(int $options = FILEINFO_NONE, string $arg = "") {}
/**
- * @param ?resource $context
+ * @param resource|null $context
* @return string|false
* @alias finfo_file
*/
public function file(string $file_name, int $options = FILEINFO_NONE, $context = null) {}
/**
- * @param ?resource $context
+ * @param resource|null $context
* @return string|false
* @alias finfo_buffer
*/
/**
* @param resource $finfo
- * @param ?resource $context
+ * @param resource|null $context
*/
function finfo_file($finfo, string $file_name, int $options = FILEINFO_NONE, $context = null): string|false {}
/**
* @param resource $finfo
- * @param ?resource $context
+ * @param resource|null $context
*/
function finfo_buffer($finfo, string $string, int $options = FILEINFO_NONE, $context = null): string|false {}
/** @return bool */
public static function setDefault(string $locale) {}
- /** @return ?string */
+ /** @return string|null */
public static function getPrimaryLanguage(string $locale) {}
- /** @return ?string */
+ /** @return string|null */
public static function getScript(string $locale) {}
- /** @return ?string */
+ /** @return string|null */
public static function getRegion(string $locale) {}
/** @return array|false|null */
/** @return string|false */
public static function composeLocale(array $subtags) {}
- /** @return ?array */
+ /** @return array|null */
public static function parseLocale(string $locale) {}
- /** @return ?array */
+ /** @return array|null */
public static function getAllVariants(string $locale) {}
- /** @return ?bool */
+ /** @return bool|null */
public static function filterMatches(string $langtag, string $locale, bool $canonicalize = false) {}
- /** @return ?string */
+ /** @return string|null */
public static function lookup(array $langtag, string $locale, bool $canonicalize = false, ?string $def = null) {}
- /** @return ?string */
+ /** @return string|null */
public static function canonicalize(string $locale) {}
/** @return string|false */
*/
public static function createEnumeration($countryOrRawOffset = null) {}
- /** @return ?IntlTimeZone */
+ /** @return IntlTimeZone|null */
public static function createTimeZone(string $zoneId) {}
/** @return IntlIterator|false */
public static function createTimeZoneIDEnumeration(int $zoneType, ?string $region = null, ?int $rawOffset = null) {}
- /** @return ?IntlTimeZone */
+ /** @return IntlTimeZone|null */
public static function fromDateTimeZone(DateTimeZone $zone) {}
/** @return string|false */
/** @param resource $link_identifier */
function ldap_get_option($link_identifier, int $option, &$retval = null): bool {}
-/** @param ?resource $link_identifier */
+/** @param resource|null $link_identifier */
function ldap_set_option($link_identifier, int $option, $newval): bool {}
/**
/** @return bool */
public function decompressFiles() {}
- /** @return ?Phar */
+ /** @return Phar|null */
public function compress(int $compression_type, string $file_ext = UNKNOWN) {}
- /** @return ?Phar */
+ /** @return Phar|null */
public function decompress(string $file_ext = UNKNOWN) {}
- /** @return ?Phar */
+ /** @return Phar|null */
public function convertToExecutable(int $format = 9021976, int $compression_type = 9021976, string $file_ext = UNKNOWN) {}
- /** @return ?Phar */
+ /** @return Phar|null */
public function convertToData(int $format = 9021976, int $compression_type = 9021976, string $file_ext = UNKNOWN) {}
/** @return bool */
/** @return bool */
public function extractTo(string $pathto, $files = null, bool $overwrite = false) {}
- /** @return ?string */
+ /** @return string|null */
public function getAlias() {}
/** @return string */
/** @return bool */
public function decompressFiles() {}
- /** @return ?Phar */
+ /** @return Phar|null */
public function compress(int $compression_type, string $file_ext = UNKNOWN) {}
- /** @return ?Phar */
+ /** @return Phar|null */
public function decompress(string $file_ext = UNKNOWN) {}
- /** @return ?Phar */
+ /** @return Phar|null */
public function convertToExecutable(int $format = 9021976, int $compression_type = 9021976, string $file_ext = UNKNOWN) {}
- /** @return ?Phar */
+ /** @return Phar|null */
public function convertToData(int $format = 9021976, int $compression_type = 9021976, string $file_ext = UNKNOWN) {}
/** @return bool */
/** @return bool */
public function extractTo(string $pathto, $files = null, bool $overwrite = false) {}
- /** @return ?string */
+ /** @return string|null */
public function getAlias() {}
/** @return string */
/** @return bool */
public function isVariadic() {}
- /** @return ?object */
+ /** @return object|null */
public function getClosureThis() {}
- /** @return ?ReflectionClass */
+ /** @return ReflectionClass|null */
public function getClosureScopeClass() {}
/** @return string|false */
/** @return int|false */
public function getEndLine() {}
- /** @return ?ReflectionExtension */
+ /** @return ReflectionExtension|null */
public function getExtension() {}
/** @return string|false */
/** @return bool */
public function hasReturnType() {}
- /** @return ?ReflectionType */
+ /** @return ReflectionType|null */
public function getReturnType() {}
}
/** @return ReflectionFunctionAbstract */
public function getFunction() {}
- /** @return ?object */
+ /** @return object|null */
public function getThis() {}
/** @return Generator */
/** @return string|false */
public function getDocComment() {}
- /** @return ?ReflectionMethod */
+ /** @return ReflectionMethod|null */
public function getConstructor() {}
/** @return bool */
/** @return bool */
public function hasConstant(string $name) {}
- /** @return ?array */
+ /** @return array|null */
public function getConstants() {}
/** @return ReflectionClassConstant[] */
*/
public function isSubclassOf($class) {}
- /** @return ?array */
+ /** @return array|null */
public function getStaticProperties() {}
/** @return mixed */
*/
public function implementsInterface($interface) {}
- /** @return ?ReflectionExtension */
+ /** @return ReflectionExtension|null */
public function getExtension() {}
/** @return string|false */
/** @return void */
public function setAccessible(bool $visible) {}
- /** @return ?ReflectionType */
+ /** @return ReflectionType|null */
public function getType() {}
/** @return bool */
/** @return ReflectionFunctionAbstract */
public function getDeclaringFunction() {}
- /** @return ?ReflectionClass */
+ /** @return ReflectionClass|null */
public function getDeclaringClass() {}
- /** @return ?ReflectionClass */
+ /** @return ReflectionClass|null */
public function getClass() {}
/** @return bool */
public function hasType() {}
- /** @return ?ReflectionType */
+ /** @return ReflectionType|null */
public function getType() {}
/** @return bool */
/** @return bool */
public function isDefaultValueConstant() {}
- /** @return ?string */
+ /** @return string|null */
public function getDefaultValueConstantName() {}
/** @return bool */
/** @return string */
public function getName() {}
- /** @return ?string */
+ /** @return string|null */
public function getVersion() {}
/** @return ReflectionFunction[] */
/** @return bool */
public function valid() {}
- /** @return ?SimpleXMLElement */
+ /** @return SimpleXMLElement|null */
public function current() {}
/** @return string|false */
/** @return bool */
public function hasChildren() {}
- /** @return ?SimpleXMLIterator */
+ /** @return SimpleXMLIterator|null */
public function getChildren() {}
}
/** @return array|null */
public function __getTypes();
- /** @return ?string */
+ /** @return string|null */
public function __getLastRequest();
- /** @return ?string */
+ /** @return string|null */
public function __getLastResponse();
- /** @return ?string */
+ /** @return string|null */
public function __getLastRequestHeaders();
- /** @return ?string */
+ /** @return string|null */
public function __getLastResponseHeaders();
- /** @return ?string */
+ /** @return string|null */
public function __doRequest(string $request, string $location, string $action, int $version, int $one_way = 0);
/** @return void */
/** @return bool */
public function __setSoapHeaders($soapheaders = null);
- /** @return ?string */
+ /** @return string|null */
public function __setLocation(string $new_location = "");
}
/** @return string|null|false */
public function getAttribute(string $name) {}
- /** @return ?string */
+ /** @return string|null */
public function getAttributeNo(int $index) {}
/** @return string|null|false */