summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2018-11-01 21:37:59 +0100
committerMaxence Lange <maxence@artificial-owl.com>2018-11-01 21:37:59 +0100
commit70b8c5672b0f4b267f298a5c702a6b82250413dd (patch)
tree11f04c7b901211986c02763be0aa3dfe1195e4cc /lib/public
parent45285eca6a7edb353aaaa0cb28a8028984eacf61 (diff)
downloadnextcloud-server-70b8c5672b0f4b267f298a5c702a6b82250413dd.tar.gz
nextcloud-server-70b8c5672b0f4b267f298a5c702a6b82250413dd.zip
init some var
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/FullTextSearch/Model/IndexDocument.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/public/FullTextSearch/Model/IndexDocument.php b/lib/public/FullTextSearch/Model/IndexDocument.php
index f580a69a063..78679ac6225 100644
--- a/lib/public/FullTextSearch/Model/IndexDocument.php
+++ b/lib/public/FullTextSearch/Model/IndexDocument.php
@@ -57,10 +57,10 @@ class IndexDocument implements JsonSerializable {
/** @var string */
- protected $id;
+ protected $id = '';
/** @var string */
- protected $providerId;
+ protected $providerId = '';
/** @var DocumentAccess */
protected $access;
@@ -111,7 +111,7 @@ class IndexDocument implements JsonSerializable {
protected $info = [];
/** @var int */
- protected $contentEncoded;
+ protected $contentEncoded = 0;
/**