Passed
Push — master ( f081ea...af57fd )
by 世昌
04:00
created

Debugger   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 8
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getDefaultConfig() 0 6 1
1
<?php
2
namespace nebula\application;
3
4
use nebula\component\debug\Debug;
5
6
7
8
/**
9
 * 调试器
10
 */
11
class Debugger extends Debug
12
{
13
    public function getDefaultConfig():array
14
    {
15
        return [
16
            'log-format' => ' %time-format% - %memory-format% [%level%] %file%:%line% %message%',
17
            'start-time' => 0,
18
            'start-memory' => 0,
19
        ];
20
    }
21
} 
22