Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 7 |
Ratio | 100 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
68 | View Code Duplication | public function swapBb($opt, $dst) |
|
69 | { |
||
70 | $command = Enum::SWAPDB; |
||
71 | $args = [$opt, $dst]; |
||
72 | |||
73 | return $this->dispatch(Builder::build($command, $args)); |
||
74 | } |
||
75 | } |
||
76 |
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.