]> source.dussan.org Git - nextcloud-server.git/commitdiff
bump dav version for migration 12265/head
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Mon, 5 Nov 2018 07:11:31 +0000 (08:11 +0100)
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Mon, 5 Nov 2018 07:11:31 +0000 (08:11 +0100)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
apps/dav/appinfo/info.xml
apps/dav/lib/Migration/Version1008Date20181030113700.php

index d296661e8ac061d208bbe175a48d6d9e62b96bd8..f4fc58e230ce55b941af17dbdc90cc96f8f7af3f 100644 (file)
@@ -5,7 +5,7 @@
        <name>WebDAV</name>
        <summary>WebDAV endpoint</summary>
        <description>WebDAV endpoint</description>
-       <version>1.7.1</version>
+       <version>1.7.2</version>
        <licence>agpl</licence>
        <author>owncloud.org</author>
        <namespace>DAV</namespace>
index 1cc6223a9e9124396d3c0fc5dc94846a88512378..9e26df7792efd853ba1c8421a3f12a79785c9c81 100644 (file)
@@ -20,6 +20,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
  */
+declare(strict_types=1);
 
 namespace OCA\DAV\Migration;
 
@@ -30,14 +31,15 @@ use OCP\DB\ISchemaWrapper;
 use OCP\Migration\SimpleMigrationStep;
 use OCP\Migration\IOutput;
 
-/**
- * add column for share notes
- *
- * Class Version15000Date20180927120000
- */
 class Version1008Date20181030113700 extends SimpleMigrationStep {
-       public function changeSchema(IOutput $output, Closure $schemaClosure, array $options) {
 
+       /**
+        * @param IOutput $output
+        * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
+        * @param array $options
+        * @return null|ISchemaWrapper
+        */
+       public function changeSchema(IOutput $output, Closure $schemaClosure, array $options) {
                /** @var ISchemaWrapper $schema */
                $schema = $schemaClosure();