Passed
Push — 5.2 ( c6dbca...184417 )
by
unknown
02:35
created

BootService   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A init() 0 3 1
1
<?php
2
// +----------------------------------------------------------------------
1 ignored issue
show
Coding Style introduced by
You must use "/**" style comments for a file comment
Loading history...
3
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
4
// +----------------------------------------------------------------------
5
// | Copyright (c) 2006~2019 http://thinkphp.cn All rights reserved.
6
// +----------------------------------------------------------------------
7
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
8
// +----------------------------------------------------------------------
9
// | Author: yunwuxin <[email protected]>
10
// +----------------------------------------------------------------------
11
declare (strict_types = 1);
12
13
14
namespace think\initializer;
15
16
17
use think\App;
18
19
class BootService
1 ignored issue
show
Coding Style introduced by
Missing class doc comment
Loading history...
20
{
21
    public function init(App $app)
0 ignored issues
show
Coding Style introduced by
Missing function doc comment
Loading history...
22
    {
23
        $app->init();
24
    }
25
}