| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 36 | 1 | public function add(float $start, float $end, RequestInterface $request, ResponseInterface $response = null): void |
|
| 37 | { |
||
| 38 | 1 | $description = $this->describe($request, $response); |
|
| 39 | 1 | $name = spl_object_hash($request); |
|
| 40 | |||
| 41 | 1 | $this->timeline->addEvent($name, $description, $start, $end); |
|
| 42 | 1 | } |
|
| 43 | } |
||
| 44 |