Merge pull request #17742 from nextcloud/backport/17740/stable17

[stable17] Return null from migration to match with typehint
This commit is contained in:
Roeland Jago Douma 2019-10-30 09:24:03 +01:00 committed by GitHub
commit 767455f49c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,7 +38,7 @@ class Version1012Date20190808122342 extends SimpleMigrationStep {
* @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
* @param array $options
* @return null|ISchemaWrapper
* @since 13.0.0
* @since 17.0.0
*/
public function changeSchema(IOutput $output,
\Closure $schemaClosure,
@ -112,5 +112,7 @@ class Version1012Date20190808122342 extends SimpleMigrationStep {
return $schema;
}
return null;
}
}