We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent becf1bf commit 9db800cCopy full SHA for 9db800c
src/Request.php
@@ -291,11 +291,11 @@ public function setBody(array | string $body) : static
291
* when null. <b>JSON_THROW_ON_ERROR</b> is enforced by default.</p>
292
* @param int<1,max> $depth [optional] Set the maximum depth. Must be greater than zero.
293
*
294
- * @throws JsonException if json_encode() fails
295
- *
296
* @see https://www.php.net/manual/en/function.json-encode.php
297
* @see https://www.php.net/manual/en/json.constants.php
298
+ * @throws JsonException if json_encode() fails
+ *
299
* @return static
300
*/
301
public function setJson(mixed $data, int $flags = null, int $depth = 512) : static
0 commit comments