| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 33 | public function execute(): Result |
||
| 34 | { |
||
| 35 | $start = microtime(true); |
||
| 36 | $result = parent::execute(); |
||
| 37 | $end = microtime(true); |
||
| 38 | |||
| 39 | _log()->debug('Executing statement: {sql} (parameters: {params}, types: {types})', [ |
||
| 40 | 'sql' => $this->sql, |
||
| 41 | 'params' => $this->params, |
||
| 42 | 'time' => number_format($end - $start / 1000, 6), |
||
| 43 | ]); |
||
| 44 | |||
| 45 | return $result; |
||
| 46 | } |
||
| 48 |