Return $schema on change and null otherwise

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
Daniel Kesselberg 2019-10-29 18:14:38 +01:00 committed by Backportbot
parent d30f86e936
commit 18e3ec10f5

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;
}
}