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 */ /** @var string */
protected $id; protected $id = '';
/** @var string */ /** @var string */
protected $providerId; protected $providerId = '';
/** @var DocumentAccess */ /** @var DocumentAccess */
protected $access; protected $access;
@ -111,7 +111,7 @@ class IndexDocument implements JsonSerializable {
protected $info = []; protected $info = [];
/** @var int */ /** @var int */
protected $contentEncoded; protected $contentEncoded = 0;
/** /**