| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 1 |
| CRAP Score | 1.512 |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 57 | public function __toString(): string |
||
| 58 | { |
||
| 59 | return PHP_EOL . |
||
| 60 | '=== Event ' . $this->getType() . ' === ' . PHP_EOL . |
||
| 61 | 'Date: ' . $this->eventInfo->getDateTime() . PHP_EOL . |
||
| 62 | 'Log position: ' . $this->eventInfo->getPos() . PHP_EOL . |
||
| 63 | 'Event size: ' . $this->eventInfo->getSize() . PHP_EOL . |
||
| 64 | 'Database: ' . $this->database . PHP_EOL . |
||
| 65 | 1 | 'Execution time: ' . $this->executionTime . PHP_EOL . |
|
| 66 | 'Query: ' . $this->query . PHP_EOL; |
||
| 67 | } |
||
| 73 | } |