intelephense
1.14.41.16.1
lib/stub/http/http3.phplib/stub/http/http3.php+10
Index: package/lib/stub/http/http3.php
===================================================================
--- package/lib/stub/http/http3.php
+++ package/lib/stub/http/http3.php
@@ -778,8 +778,9 @@
* @param string $params HTTP header parameter's value to negotiate.
* @param array $supported List of supported negotiation operands.
* @param string $prim_typ_sep A "primary type separator", i.e. that would be a hyphen for content language negotiation (en-US, de-DE, etc.).
* @param array &$result Out parameter recording negotiation results.
+ * @param-out array $result
* @return string|null NULL if negotiation fails.
* or string the closest match negotiated, or the default (first entry of $supported).
*/
public function negotiate(string $params, array $supported, string $prim_typ_sep = null, array &$result = null) {}
@@ -791,8 +792,9 @@
* The first element of $supported character sets serves as a default if no character set matches.
*
* @param array $supported List of supported content character sets.
* @param array &$result Out parameter recording negotiation results.
+ * @param-out array $result
* @return string|null NULL if negotiation fails.
* or string the negotiated character set.
*/
public function negotiateCharset(array $supported, array &$result = null) {}
@@ -804,8 +806,9 @@
* The first element of $supported content types serves as a default if no content-type matches.
*
* @param array $supported List of supported MIME content types.
* @param array &$result Out parameter recording negotiation results.
+ * @param-out array $result
* @return string|null NULL if negotiation fails.
* or string the negotiated content type.
*/
public function negotiateContentType(array $supported, array &$result = null) {}
@@ -817,8 +820,9 @@
* The first element of $supported encodings serves as a default if no encoding matches.
*
* @param array $supported List of supported content encodings.
* @param array &$result Out parameter recording negotiation results.
+ * @param-out array $result
* @return string|null NULL if negotiation fails.
* or string the negotiated encoding.
*/
public function negotiateEncoding(array $supported, array &$result = null) {}
@@ -830,8 +834,9 @@
* The first element of $supported languages serves as a default if no language matches.
*
* @param array $supported List of supported content languages.
* @param array &$result Out parameter recording negotiation results.
+ * @param-out array $result
* @return string|null NULL if negotiation fails.
* or string the negotiated language.
*/
public function negotiateLanguage(array $supported, array &$result = null) {}
@@ -959,8 +964,9 @@
* The first element of $supported serves as a default if no operand matches.
*
* @param array $supported The list of supported values to negotiate.
* @param array &$result Out parameter recording the negotiation results.
+ * @param-out array $result
* @return string|null NULL if negotiation fails.
* or string the closest match negotiated, or the default (first entry of $supported).
*/
public function negotiate(array $supported, array &$result = null) {}
@@ -1264,8 +1270,9 @@
*
* See http\Message::splitMultipartBody().
*
* @param string &$boundary A reference where the boundary string will be stored.
+ * @param-out string $boundary
* @return bool whether this is a message with a multipart "Content-Type".
*/
public function isMultipart(string &$boundary = null) {}
@@ -2735,8 +2742,9 @@
*
* @param string $data The data to decode.
* @param int &$decoded_len Out parameter with the length of $data that's been decoded.
* Should be ```strlen($data)``` if not truncated.
+ * @param-out int $decoded_len
* @return string|string|string|false string the decoded data.
* or string the unencoded data.
* or string the truncated decoded data.
* or false if $data cannot be decoded.
@@ -3367,8 +3375,9 @@
*
* @param string $data The (part of the) header to parse.
* @param int $flags Any combination of [parser flags](http/Header/Parser#Parser.flags:).
* @param array &$header Successfully parsed headers.
+ * @param-out array $header
* @throws \http\Exception\InvalidArgumentException
* @return int http\Header\Parser::STATE_* constant.
*/
public function parse(string $data, int $flags, array &$header = null) {}
@@ -3378,8 +3387,9 @@
*
* @param resource $stream The header stream to parse from.
* @param int $flags Any combination of [parser flags](http/Header/Parser#Parser.flags:).
* @param array &$headers The headers parsed.
+ * @param-out array $headers
* @throws \http\Exception\InvalidArgumentException
* @throws \http\Exception\UnexpectedValueException
* @return int http\Header\Parser::STATE_* constant.
*/