| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 1 |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 22 | 2 | public function createSQL() { |
|
| 23 | 2 | $quote = $this->db->quote; |
|
| 24 | 2 | $this->parameters = \array_keys ( $this->instances ); |
|
| 25 | 2 | $count = \count ( $this->parameters ); |
|
| 26 | |||
| 27 | 2 | return "DELETE FROM {$quote}{$this->tableName}{$quote} WHERE {$quote}{$this->pkName}{$quote} IN (" . \implode ( ',', \array_fill ( 0, $count, '?' ) ) . ')'; |
|
| 28 | } |
||
| 48 |