1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 05:41:20 +01:00

Add explanation

Co-authored-by: Bruce Weirdan <weirdan@gmail.com>
This commit is contained in:
fluffycondor 2023-03-16 12:37:14 +06:00 committed by GitHub
parent 0c3fa5b5d0
commit 2c69e3cdcc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1467,6 +1467,8 @@ function ldap_escape(string $value, string $ignore = "", int $flags = 0) : strin
function json_decode(string $json, ?bool $associative = null, int $depth = 512, int $flags = 0) {}
/**
* The conditional return type below relies on the fact that JSON_THROW_ON_ERROR is
* the highest-valued of JSON constants
* @psalm-pure
*
* @param int<1, 2147483647> $depth