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

Debugger::getDefaultConfig()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 4
nc 1
nop 0
dl 0
loc 6
rs 10
c 0
b 0
f 0
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