| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 2 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 55 | 10 | public function __construct($path = null, $host = null, $methods = [], $schemes = []) |
|
| 56 | { |
||
| 57 | 10 | $this->path = $path; |
|
| 58 | 10 | $this->host = $host; |
|
| 59 | 10 | $this->methods = array_map('strtoupper', (array) $methods); |
|
| 60 | 10 | $this->schemes = array_map('strtolower', (array) $schemes); |
|
| 61 | 10 | } |
|
| 62 | |||
| 89 |
This check marks private properties in classes that are never used. Those properties can be removed.