summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2019-10-29 20:38:16 +0100
committerGitHub <noreply@github.com>2019-10-29 20:38:16 +0100
commit1a9f55139608fd3f1b7ea39136a3610f85bf57c8 (patch)
tree039f92eb64779b3f97fadf1ae688b7be0b59bd88
parentf420ac94b02ad86e004b5490b8af3ca68a7495f8 (diff)
parentfd836616a2cd43c88e2e44cf7f2d073bfdcc53b3 (diff)
downloadnextcloud-server-1a9f55139608fd3f1b7ea39136a3610f85bf57c8.tar.gz
nextcloud-server-1a9f55139608fd3f1b7ea39136a3610f85bf57c8.zip
Merge pull request #17740 from nextcloud/fix/17479/always-return-schema
Return null from migration to match with typehint
-rw-r--r--apps/dav/lib/Migration/Version1012Date20190808122342.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/dav/lib/Migration/Version1012Date20190808122342.php b/apps/dav/lib/Migration/Version1012Date20190808122342.php
index 4aa768e705d..376d8472968 100644
--- a/apps/dav/lib/Migration/Version1012Date20190808122342.php
+++ b/apps/dav/lib/Migration/Version1012Date20190808122342.php
@@ -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;
}
}