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

File   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 2 1
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
}