]> _ Git - cubist_minisearch.git/commitdiff
wip #4804 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 19 Oct 2021 18:21:25 +0000 (20:21 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 19 Oct 2021 18:21:25 +0000 (20:21 +0200)
src/Document.php

index 203e47be51719d4b35f5218776afd11cd67c846b..04566c72b50cb6b321fddd3808e30c05e71aee14 100644 (file)
@@ -7,32 +7,32 @@ class Document
     /**
      * @var string
      */
-    protected $id;
+    protected $id = '';
 
     /**
      * @var string
      */
-    protected $url;
+    protected $url = '';
 
     /**
      * @var string
      */
-    protected $title;
+    protected $title = '';
 
     /**
      * @var string
      */
-    protected $text;
+    protected $text = '';
 
     /**
      * @var string
      */
-    protected $thumb;
+    protected $thumb = '';
 
     /**
      * @var string
      */
-    protected $type;
+    protected $type = '';
 
 
     /**