diff options
author | Joas Schilling <coding@schilljs.com> | 2020-10-13 13:50:45 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-10-13 13:50:45 +0300 |
commit | dddb7ef31d903e2023bb7872fc98b058262b59f5 (patch) | |
tree | cad2d982231ea0aa90ac3082e4e016e6e14b61c1 /lib/Migration | |
parent | 8b782d44d0faea082b21725bb9770ef7501812df (diff) |
Start fixing some psalm issues
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Migration')
-rw-r--r-- | lib/Migration/Version7000Date20190724121137.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Migration/Version7000Date20190724121137.php b/lib/Migration/Version7000Date20190724121137.php index f0dde5173..441d50773 100644 --- a/lib/Migration/Version7000Date20190724121137.php +++ b/lib/Migration/Version7000Date20190724121137.php @@ -44,7 +44,7 @@ class Version7000Date20190724121137 extends SimpleMigrationStep { * @param array $options * @since 13.0.0 */ - public function preSchemaChange(IOutput $output, \Closure $schemaClosure, array $options) { + public function preSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void { $query = $this->connection->getQueryBuilder(); $query->select('p.user_id', 'p.room_id') ->selectAlias($query->createFunction('MAX(' . $query->getColumnName('c.id') . ')'), 'last_mention_message') @@ -81,7 +81,7 @@ class Version7000Date20190724121137 extends SimpleMigrationStep { * @throws SchemaException * @since 13.0.0 */ - public function changeSchema(IOutput $output, \Closure $schemaClosure, array $options) { + public function changeSchema(IOutput $output, \Closure $schemaClosure, array $options): ?ISchemaWrapper { /** @var ISchemaWrapper $schema */ $schema = $schemaClosure(); |