Passed
Push — master ( 92182b...13d26f )
by 世昌
03:14
created

File::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 1
dl 0
loc 2
rs 10
c 0
b 0
f 0
1
<?php
2
namespace nebula\request\file;
3
4
5
/**
6
 * HTTP请求文件
7
 */
8
class File  extends \SplFileInfo  {
9
    /**
10
     * 创建文件
11
     *
12
     * @param string $path
13
     */
14
    public function __construct(string $path) {
15
        parent::__construct($path);
16
    }
17
}