| Conditions | 2 |
| Paths | 2 |
| Total Lines | 7 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 6 |
| Changes | 0 | ||
| 1 | <?php |
||
| 38 | public function __construct(int $port, string $host, array $config = [], ConnectorFactoryInterface $connectorFactory = null) |
||
| 39 | {
|
||
| 40 | $this->port = $port; |
||
| 41 | $this->host = $host; |
||
| 42 | $this->connectorFactory = $connectorFactory ?: new ConnectorFactory(); |
||
| 43 | $this->setConfig($config); |
||
| 44 | } |
||
| 45 | |||
| 67 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.