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
parent f420ac94b0
commit fd836616a2
No known key found for this signature in database
GPG Key ID: 36E3664E099D0614
1 changed files with 3 additions and 1 deletions

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