Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
22 | else |
||
23 | $this->overlayMisc($data); |
||
24 | } |
||
25 | protected function overlayConnection( $_data ) { |
||
26 | $this->connection = $this->obj2array($_data); |
||
27 | } |
||
28 | protected function overlayMisc( $_data ) { |
||
29 | $this->importObject($_data); |
||
30 | } |
||
31 | protected function obj2array ( &$_instance ) { |
||
32 | $clone = (array) $_instance; |
||
48 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.