Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 7 |
Ratio | 100 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
33 | View Code Duplication | public function ping($message = 'PING') |
|
34 | { |
||
35 | $command = Enum::PING; |
||
36 | $args = [$message]; |
||
37 | |||
38 | return $this->dispatch(Builder::build($command, $args)); |
||
39 | } |
||
40 | |||
64 |
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.