forked from johnbillion/query-monitor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhttp.php
40 lines (37 loc) · 776 Bytes
/
http.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php declare(strict_types = 1);
/**
* HTTP data transfer object.
*
* @package query-monitor
*/
class QM_Data_HTTP extends QM_Data {
/**
* @var array<string, array<string, mixed>>
* @phpstan-var array<string, array{
* args: array<string, mixed>,
* component: QM_Component,
* filtered_trace: list<array<string, mixed>>,
* info: array<string, mixed>|null,
* host: string,
* local: bool,
* ltime: float,
* redirected_to: string|null,
* response: mixed[]|WP_Error,
* type: string,
* url: string,
* }>
*/
public $http;
/**
* @var float
*/
public $ltime;
/**
* @var array<string, array<int, string>>
* @phpstan-var array{
* alert?: list<string>,
* warning?: list<string>,
* }
*/
public $errors;
}