File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
app/code/Magento/ApplicationPerformanceMonitor/Profiler Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 14
14
class Metric
15
15
{
16
16
/**
17
- * @param MetricType $type
17
+ * @param string $type
18
18
* @param string $name
19
19
* @param mixed $value
20
20
* @param bool $verbose
21
21
*/
22
22
public function __construct (
23
- private readonly MetricType $ type ,
23
+ private readonly string $ type ,
24
24
private readonly string $ name ,
25
25
private readonly mixed $ value ,
26
26
private readonly bool $ verbose ,
@@ -30,9 +30,9 @@ public function __construct(
30
30
/**
31
31
* Gets type of metric
32
32
*
33
- * @return int|MetricType
33
+ * @return int|string
34
34
*/
35
- public function getType (): MetricType |int
35
+ public function getType (): string |int
36
36
{
37
37
return $ this ->type ;
38
38
}
Original file line number Diff line number Diff line change 8
8
namespace Magento \ApplicationPerformanceMonitor \Profiler ;
9
9
10
10
/**
11
- * Enum for which type of metric
11
+ * Type of metrics
12
12
*/
13
13
class MetricType
14
14
{
You can’t perform that action at this time.
0 commit comments