@@ -33,47 +33,47 @@ |
||
33 | 33 | * @since 13.0.0 |
34 | 34 | */ |
35 | 35 | interface IMigrationStep { |
36 | - /** |
|
37 | - * Human readable name of the migration step |
|
38 | - * |
|
39 | - * @return string |
|
40 | - * @since 14.0.0 |
|
41 | - */ |
|
42 | - public function name(): string; |
|
36 | + /** |
|
37 | + * Human readable name of the migration step |
|
38 | + * |
|
39 | + * @return string |
|
40 | + * @since 14.0.0 |
|
41 | + */ |
|
42 | + public function name(): string; |
|
43 | 43 | |
44 | - /** |
|
45 | - * Human readable description of the migration steps |
|
46 | - * |
|
47 | - * @return string |
|
48 | - * @since 14.0.0 |
|
49 | - */ |
|
50 | - public function description(): string; |
|
44 | + /** |
|
45 | + * Human readable description of the migration steps |
|
46 | + * |
|
47 | + * @return string |
|
48 | + * @since 14.0.0 |
|
49 | + */ |
|
50 | + public function description(): string; |
|
51 | 51 | |
52 | - /** |
|
53 | - * @param IOutput $output |
|
54 | - * @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper` |
|
55 | - * @psalm-param Closure():ISchemaWrapper $schemaClosure |
|
56 | - * @param array $options |
|
57 | - * @since 13.0.0 |
|
58 | - */ |
|
59 | - public function preSchemaChange(IOutput $output, \Closure $schemaClosure, array $options); |
|
52 | + /** |
|
53 | + * @param IOutput $output |
|
54 | + * @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper` |
|
55 | + * @psalm-param Closure():ISchemaWrapper $schemaClosure |
|
56 | + * @param array $options |
|
57 | + * @since 13.0.0 |
|
58 | + */ |
|
59 | + public function preSchemaChange(IOutput $output, \Closure $schemaClosure, array $options); |
|
60 | 60 | |
61 | - /** |
|
62 | - * @param IOutput $output |
|
63 | - * @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper` |
|
64 | - * @psalm-param Closure():ISchemaWrapper $schemaClosure |
|
65 | - * @param array $options |
|
66 | - * @return null|ISchemaWrapper |
|
67 | - * @since 13.0.0 |
|
68 | - */ |
|
69 | - public function changeSchema(IOutput $output, \Closure $schemaClosure, array $options); |
|
61 | + /** |
|
62 | + * @param IOutput $output |
|
63 | + * @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper` |
|
64 | + * @psalm-param Closure():ISchemaWrapper $schemaClosure |
|
65 | + * @param array $options |
|
66 | + * @return null|ISchemaWrapper |
|
67 | + * @since 13.0.0 |
|
68 | + */ |
|
69 | + public function changeSchema(IOutput $output, \Closure $schemaClosure, array $options); |
|
70 | 70 | |
71 | - /** |
|
72 | - * @param IOutput $output |
|
73 | - * @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper` |
|
74 | - * @psalm-param Closure():ISchemaWrapper $schemaClosure |
|
75 | - * @param array $options |
|
76 | - * @since 13.0.0 |
|
77 | - */ |
|
78 | - public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array $options); |
|
71 | + /** |
|
72 | + * @param IOutput $output |
|
73 | + * @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper` |
|
74 | + * @psalm-param Closure():ISchemaWrapper $schemaClosure |
|
75 | + * @param array $options |
|
76 | + * @since 13.0.0 |
|
77 | + */ |
|
78 | + public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array $options); |
|
79 | 79 | } |
@@ -32,48 +32,48 @@ |
||
32 | 32 | * @since 13.0.0 |
33 | 33 | */ |
34 | 34 | abstract class SimpleMigrationStep implements IMigrationStep { |
35 | - /** |
|
36 | - * Human readable name of the migration step |
|
37 | - * |
|
38 | - * @return string |
|
39 | - * @since 14.0.0 |
|
40 | - */ |
|
41 | - public function name(): string { |
|
42 | - return ''; |
|
43 | - } |
|
35 | + /** |
|
36 | + * Human readable name of the migration step |
|
37 | + * |
|
38 | + * @return string |
|
39 | + * @since 14.0.0 |
|
40 | + */ |
|
41 | + public function name(): string { |
|
42 | + return ''; |
|
43 | + } |
|
44 | 44 | |
45 | - /** |
|
46 | - * Human readable description of the migration step |
|
47 | - * |
|
48 | - * @return string |
|
49 | - * @since 14.0.0 |
|
50 | - */ |
|
51 | - public function description(): string { |
|
52 | - return ''; |
|
53 | - } |
|
45 | + /** |
|
46 | + * Human readable description of the migration step |
|
47 | + * |
|
48 | + * @return string |
|
49 | + * @since 14.0.0 |
|
50 | + */ |
|
51 | + public function description(): string { |
|
52 | + return ''; |
|
53 | + } |
|
54 | 54 | |
55 | - /** |
|
56 | - * {@inheritDoc} |
|
57 | - * |
|
58 | - * @since 13.0.0 |
|
59 | - */ |
|
60 | - public function preSchemaChange(IOutput $output, \Closure $schemaClosure, array $options) { |
|
61 | - } |
|
55 | + /** |
|
56 | + * {@inheritDoc} |
|
57 | + * |
|
58 | + * @since 13.0.0 |
|
59 | + */ |
|
60 | + public function preSchemaChange(IOutput $output, \Closure $schemaClosure, array $options) { |
|
61 | + } |
|
62 | 62 | |
63 | - /** |
|
64 | - * {@inheritDoc} |
|
65 | - * |
|
66 | - * @since 13.0.0 |
|
67 | - */ |
|
68 | - public function changeSchema(IOutput $output, \Closure $schemaClosure, array $options) { |
|
69 | - return null; |
|
70 | - } |
|
63 | + /** |
|
64 | + * {@inheritDoc} |
|
65 | + * |
|
66 | + * @since 13.0.0 |
|
67 | + */ |
|
68 | + public function changeSchema(IOutput $output, \Closure $schemaClosure, array $options) { |
|
69 | + return null; |
|
70 | + } |
|
71 | 71 | |
72 | - /** |
|
73 | - * {@inheritDoc} |
|
74 | - * |
|
75 | - * @since 13.0.0 |
|
76 | - */ |
|
77 | - public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array $options) { |
|
78 | - } |
|
72 | + /** |
|
73 | + * {@inheritDoc} |
|
74 | + * |
|
75 | + * @since 13.0.0 |
|
76 | + */ |
|
77 | + public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array $options) { |
|
78 | + } |
|
79 | 79 | } |