/var/www/html_it/wp-content/plugins/query-monitor/data/php_errors.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
41
42
43
44
45
<?php declare(strict_types 1);
/**
 * PHP errors data transfer object.
 *
 * @package query-monitor
 */

/**
 * @phpstan-type errorObject array{
 *   errno: int,
 *   type: string,
 *   message: string,
 *   file: string|null,
 *   filename: string,
 *   line: int|null,
 *   filtered_trace: list<array<string, mixed>>|null,
 *   component: QM_Component,
 *   calls: int,
 * }
 * @phpstan-type errorObjects array<string, array<string, errorObject>>
 */
class QM_Data_PHP_Errors extends QM_Data {
    
/**
     * @var array<string, string>
     */
    
public $components;

    
/**
     * @var array<string, array<string, array<string, mixed>>>
     * @phpstan-var errorObjects
     */
    
public $errors;

    
/**
     * @var array<string, array<string, array<string, mixed>>>
     * @phpstan-var errorObjects
     */
    
public $suppressed;

    
/**
     * @var array<string, array<string, array<string, mixed>>>
     * @phpstan-var errorObjects
     */
    
public $silenced;
}