| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 35 | public function __construct($config) |
||
| 36 | { |
||
| 37 | $this->config = $config; |
||
| 38 | $this->client = new Client($this->config['username'], $this->config['password'], $this->config['base_url']); |
||
| 39 | $this->validator = new Validator($this->config['pin']); |
||
| 40 | $this->url_creator = new UrlCreator($this->config['pin']); |
||
| 41 | } |
||
| 90 |
The
breakstatement is not necessary if it is preceded for example by areturnstatement:If you would like to keep this construct to be consistent with other
casestatements, you can safely mark this issue as a false-positive.