| Conditions | 2 | 
| Paths | 6 | 
| Total Lines | 10 | 
| Code Lines | 8 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 12 | public function delete(): ?int  | 
            ||
| 13 |     { | 
            ||
| 14 |         try { | 
            ||
| 15 | $this->mountQuery();  | 
            ||
| 16 | $stmt = $this->db->prepare($this->query);  | 
            ||
| 17 | QueryHelpers::bind($stmt, $this->flatBindings());  | 
            ||
| 18 | $stmt->execute();  | 
            ||
| 19 | return $stmt->rowCount() ?? 1;  | 
            ||
| 20 |         } catch (\PDOException $exception) { | 
            ||
| 21 | $this->handleError($exception);  | 
            ||
| 22 | }  | 
            ||
| 26 |