Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
49 | public function postSchemaChange(IOutput $output, Closure $schemaClosure, array $options) { |
||
50 | $query = $this->connection->getQueryBuilder(); |
||
51 | $query->update('facerecog_persons') |
||
52 | ->set('name', $query->createNamedParameter(null)) |
||
53 | ->where($query->expr()->iLike('name', 'New person %')); |
||
54 | $query->execute(); |
||
55 | } |
||
58 |