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