| @@ -49,12 +49,12 @@ | ||
| 49 | 49 | * Chooses and creates a default handler to use based on the environment. |
| 50 | 50 | * |
| 51 | 51 | * The returned handler is not wrapped by any default middlewares. |
| 52 | 52 | * |
| 53 | + * @throws \RuntimeException if no viable Handler is available. | |
| 54 | + * | |
| 53 | 55 | * @return callable(\Depicter\Psr\Http\Message\RequestInterface, array): \Depicter\GuzzleHttp\Promise\PromiseInterface Returns the best handler for the given system. |
| 54 | 56 | * |
| 55 | - * @throws \RuntimeException if no viable Handler is available. | |
| 56 | - * | |
| 57 | 57 | * @deprecated choose_handler will be removed in guzzlehttp/guzzle:8.0. Use Utils::chooseHandler instead. |
| 58 | 58 | */ |
| 59 | 59 | function choose_handler(): callable |
| 60 | 60 | { |
| @@ -140,9 +140,9 @@ | ||
| 140 | 140 | * @return object|array|string|int|float|bool|null |
| 141 | 141 | * |
| 142 | 142 | * @throws Exception\InvalidArgumentException if the JSON cannot be decoded. |
| 143 | 143 | * |
| 144 | - * @see https://www.php.net/manual/en/function.json-decode.php | |
| 144 | + * @link https://www.php.net/manual/en/function.json-decode.php | |
| 145 | 145 | * @deprecated json_decode will be removed in guzzlehttp/guzzle:8.0. Use Utils::jsonDecode instead. |
| 146 | 146 | */ |
| 147 | 147 | function json_decode(string $json, bool $assoc = false, int $depth = 512, int $options = 0) |
| 148 | 148 | { |
| @@ -157,9 +157,9 @@ | ||
| 157 | 157 | * @param int $depth Set the maximum depth. Must be greater than zero. |
| 158 | 158 | * |
| 159 | 159 | * @throws Exception\InvalidArgumentException if the JSON cannot be encoded. |
| 160 | 160 | * |
| 161 | - * @see https://www.php.net/manual/en/function.json-encode.php | |
| 161 | + * @link https://www.php.net/manual/en/function.json-encode.php | |
| 162 | 162 | * @deprecated json_encode will be removed in guzzlehttp/guzzle:8.0. Use Utils::jsonEncode instead. |
| 163 | 163 | */ |
| 164 | 164 | function json_encode($value, int $options = 0, int $depth = 512): string |
| 165 | 165 | { |