Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 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
break
statement is not necessary if it is preceded for example by areturn
statement:If you would like to keep this construct to be consistent with other
case
statements, you can safely mark this issue as a false-positive.