* @return array */
()
| 43 | * @return array<string,mixed> |
| 44 | */ |
| 45 | function fr_pro_read_json(): array |
| 46 | { |
| 47 | fr_pro_bootstrap(); |
| 48 | |
| 49 | $raw = file_get_contents('php://input'); |
| 50 | $decoded = json_decode((string)$raw, true); |
| 51 | return is_array($decoded) ? $decoded : []; |
| 52 | } |
| 53 | } |
| 54 | |
| 55 | if (!function_exists('fr_pro_guard_method')) { |
no test coverage detected