Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 5 |
Lines | 7 |
Ratio | 100 % |
Changes | 0 |
1 | <?php |
||
29 | View Code Duplication | function __construct($command, $prefix = "", array $params = array(), $connection = null) |
|
30 | { |
||
31 | $this->command = $command; |
||
32 | $this->connection = $connection; |
||
33 | $this->params = $params; |
||
34 | $this->prefix = $prefix; |
||
35 | } |
||
36 | |||
111 |
Adding explicit visibility (
private
,protected
, orpublic
) is generally recommend to communicate to other developers how, and from where this method is intended to be used.