mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
properly typehint generated migrations
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
ade1c1e99b
commit
aaf9b9c4fd
1 changed files with 4 additions and 4 deletions
|
|
@ -80,7 +80,7 @@ class {{classname}} extends SimpleMigrationStep {
|
|||
|
||||
/**
|
||||
* @param IOutput $output
|
||||
* @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
|
||||
* @param Closure(): ISchemaWrapper $schemaClosure
|
||||
* @param array $options
|
||||
*/
|
||||
public function preSchemaChange(IOutput $output, Closure $schemaClosure, array $options): void {
|
||||
|
|
@ -88,7 +88,7 @@ class {{classname}} extends SimpleMigrationStep {
|
|||
|
||||
/**
|
||||
* @param IOutput $output
|
||||
* @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
|
||||
* @param Closure(): ISchemaWrapper $schemaClosure
|
||||
* @param array $options
|
||||
* @return null|ISchemaWrapper
|
||||
*/
|
||||
|
|
@ -98,8 +98,8 @@ class {{classname}} extends SimpleMigrationStep {
|
|||
|
||||
/**
|
||||
* @param IOutput $output
|
||||
* @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
|
||||
* @param array $options
|
||||
* @param Closure(): ISchemaWrapper $schemaClosure
|
||||
g * @param array $options
|
||||
*/
|
||||
public function postSchemaChange(IOutput $output, Closure $schemaClosure, array $options): void {
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue