diff options
Diffstat (limited to 'lib/Migration/Version3003Date20180718112436.php')
-rw-r--r-- | lib/Migration/Version3003Date20180718112436.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Migration/Version3003Date20180718112436.php b/lib/Migration/Version3003Date20180718112436.php index c4694fab7..dacb4481e 100644 --- a/lib/Migration/Version3003Date20180718112436.php +++ b/lib/Migration/Version3003Date20180718112436.php @@ -1,4 +1,5 @@ <?php + declare(strict_types=1); /** * @copyright Copyright (c) 2018 Joas Schilling <coding@schilljs.com> @@ -75,7 +76,7 @@ class Version3003Date20180718112436 extends SimpleMigrationStep { ->where($update->expr()->eq('id', $update->createParameter('room'))); $query = $this->connection->getQueryBuilder(); - $query->select( 'object_id') + $query->select('object_id') ->selectAlias($query->createFunction('MAX(' . $query->getColumnName('creation_timestamp') . ')'), 'last_activity') ->from('comments') ->where($query->expr()->eq('object_type', $query->createNamedParameter('chat'))) |