Total Complexity | 5 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Coverage | 77.78% |
Changes | 0 |
1 | <?php |
||
10 | class HeyMan |
||
11 | { |
||
12 | use EloquentHooks, RouteHooks, ViewHooks, EventHooks; |
||
13 | |||
14 | private $chain; |
||
15 | |||
16 | /** |
||
17 | * HeyMan constructor. |
||
18 | * |
||
19 | * @param \Imanghafoori\HeyMan\Chain $chain |
||
20 | */ |
||
21 | 84 | public function __construct(Chain $chain) |
|
22 | { |
||
23 | 84 | $this->chain = $chain; |
|
24 | 84 | } |
|
25 | |||
26 | /** |
||
27 | * @param $url |
||
28 | * |
||
29 | * @return array |
||
30 | */ |
||
31 | 84 | private function normalizeInput(array $url): array |
|
34 | } |
||
35 | |||
36 | 12 | public function turnOff(): Consider |
|
37 | { |
||
38 | 12 | return new Consider('turnOff'); |
|
39 | } |
||
40 | |||
41 | public function turnOn(): Consider |
||
44 | } |
||
45 | } |
||
46 |
This check looks for private methods that have been defined, but are not used inside the class.