Controller   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 2 1
1
<?php
2
3
namespace WagnerMontanini\GoomerApi\Core;
4
5
use WagnerMontanini\GoomerApi\Support\Message;
6
7
/**
8
 * Class Controller
9
 *
10
 * @author Wagner Montanini
11
 * @package WagnerMontanini\GoomerApi\Core
12
 */
13
class Controller
14
{
15
    /**
16
     * Controller constructor.
17
     * @param string|null $pathToViews
18
     */
19
    public function __construct(string $pathToViews = null)
0 ignored issues
show
Unused Code introduced by
The parameter $pathToViews is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

19
    public function __construct(/** @scrutinizer ignore-unused */ string $pathToViews = null)

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
20
    {
21
        
22
    }
23
}