first
This commit is contained in:
48
wp-content/plugins/query-monitor/data/db_queries.php
Normal file
48
wp-content/plugins/query-monitor/data/db_queries.php
Normal file
@ -0,0 +1,48 @@
|
||||
<?php declare(strict_types = 1);
|
||||
/**
|
||||
* Database queries data transfer object.
|
||||
*
|
||||
* @package query-monitor
|
||||
*/
|
||||
|
||||
class QM_Data_DB_Queries extends QM_Data {
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $total_qs;
|
||||
|
||||
/**
|
||||
* @var float
|
||||
*/
|
||||
public $total_time;
|
||||
|
||||
/**
|
||||
* @var array<int, array<string, mixed>>
|
||||
*/
|
||||
public $errors;
|
||||
|
||||
/**
|
||||
* @var ?array<int, array<string, mixed>>
|
||||
*/
|
||||
public $expensive;
|
||||
|
||||
/**
|
||||
* @var ?stdClass
|
||||
*/
|
||||
public $wpdb;
|
||||
|
||||
/**
|
||||
* @var ?array<string, array<string, mixed>>
|
||||
* @phpstan-var ?array<string, array{
|
||||
* caller: string,
|
||||
* ltime: float,
|
||||
* types: array<string, int>,
|
||||
* }>
|
||||
*/
|
||||
public $times = array();
|
||||
|
||||
/**
|
||||
* @var ?array<string, array<int, int>>
|
||||
*/
|
||||
public $dupes;
|
||||
}
|
Reference in New Issue
Block a user