Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 9 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
20 | 1 | public function format(array $record): array |
|
21 | { |
||
22 | 1 | return [ |
|
23 | 1 | new Point( |
|
24 | 1 | $this->measurement, |
|
25 | 1 | count($this->getAttributes($record)), |
|
26 | 1 | [ |
|
27 | 1 | 'model' => $this->getModel($record), |
|
28 | 1 | 'event' => $this->getEventType($record), |
|
29 | 1 | 'direction' => $this->getDirection($record), |
|
30 | 1 | ] |
|
35 |