Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-10-13 13:50:45 +0300
committerJoas Schilling <coding@schilljs.com>2020-10-13 13:50:45 +0300
commitdddb7ef31d903e2023bb7872fc98b058262b59f5 (patch)
treecad2d982231ea0aa90ac3082e4e016e6e14b61c1 /lib/Migration
parent8b782d44d0faea082b21725bb9770ef7501812df (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.php4
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();