Doc comment missing for class method
testCanLog
50 $this->assertInstanceOf(\stdClass::class, $response);
51 }
52
53 public function testCanLog(): void54 {
55 $healthCheck = new HealthCheck('token');
56 $response = $healthCheck->log('test');
Description
Documentation comments are helpful in understanding what that part of the code is responsible for. It is always a good idea to add documentation to your code to improve the code readability and maintainability. In addition to that, it becomes helpful when you revisit the code after a long time. Here, the function/class method is missing the doc comment and it is recommended to add it for the reasons discussed above.