Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
49 | public function __toString(): string |
||
50 | { |
||
51 | return PHP_EOL . |
||
52 | '=== Event ' . $this->getType() . ' === ' . PHP_EOL . |
||
53 | 'Date: ' . $this->eventInfo->getDateTime() . PHP_EOL . |
||
54 | 'Log position: ' . $this->eventInfo->getPos() . PHP_EOL . |
||
55 | 'Event size: ' . $this->eventInfo->getSize() . PHP_EOL . |
||
56 | 'Database: ' . $this->database . PHP_EOL . |
||
57 | 'Execution time: ' . $this->executionTime . PHP_EOL . |
||
58 | 'Query: ' . $this->query . PHP_EOL; |
||
59 | } |
||
65 | } |