init some var

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
This commit is contained in:
Maxence Lange 2018-11-01 21:37:59 +01:00
parent 45285eca6a
commit 70b8c5672b
1 changed files with 3 additions and 3 deletions

View File

@ -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;
/**