summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2018-11-05 09:05:32 +0100
committerGitHub <noreply@github.com>2018-11-05 09:05:32 +0100
commitdcddccb004cd776edd6bd8242f3c1267cbc39341 (patch)
treefdc3579d1f722c1e3e73364dc3935d055c19063c /apps
parentf85215e41c2c17c4e45603591e0988d730858449 (diff)
parenta6c8fe099d40267138807d1068f631f424c53780 (diff)
downloadnextcloud-server-dcddccb004cd776edd6bd8242f3c1267cbc39341.tar.gz
nextcloud-server-dcddccb004cd776edd6bd8242f3c1267cbc39341.zip
Merge pull request #12265 from nextcloud/dav-bump
bump dav version for migration
Diffstat (limited to 'apps')
-rw-r--r--apps/dav/appinfo/info.xml2
-rw-r--r--apps/dav/lib/Migration/Version1008Date20181030113700.php14
2 files changed, 9 insertions, 7 deletions
diff --git a/apps/dav/appinfo/info.xml b/apps/dav/appinfo/info.xml
index d296661e8ac..f4fc58e230c 100644
--- a/apps/dav/appinfo/info.xml
+++ b/apps/dav/appinfo/info.xml
@@ -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>
diff --git a/apps/dav/lib/Migration/Version1008Date20181030113700.php b/apps/dav/lib/Migration/Version1008Date20181030113700.php
index 1cc6223a9e9..9e26df7792e 100644
--- a/apps/dav/lib/Migration/Version1008Date20181030113700.php
+++ b/apps/dav/lib/Migration/Version1008Date20181030113700.php
@@ -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();