* @return array */
()
| 33 | * @return array<string,mixed> |
| 34 | */ |
| 35 | function fr_admin_read_json(): array |
| 36 | { |
| 37 | fr_admin_bootstrap(); |
| 38 | |
| 39 | $raw = file_get_contents('php://input'); |
| 40 | $decoded = json_decode((string)$raw, true); |
| 41 | return is_array($decoded) ? $decoded : []; |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | if (!function_exists('fr_admin_emit_result')) { |
no test coverage detected