Skip to content

Commit

Permalink
doc: Simplify simple search engine cookbook example
Browse files Browse the repository at this point in the history
Co-authored-by: Jérôme Tamarelle <jerome@tamarelle.net>
  • Loading branch information
bikusta and GromNaN authored Dec 13, 2024
1 parent 9d91047 commit a59a483
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/en/cookbook/simple-search-engine.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ setup a document like the following with a ``$keywords`` property that is mapped
#[Field(type: 'collection')]
#[Index]
public array $keywords;
public array $keywords = [];
public function __construct()
{
Expand Down

0 comments on commit a59a483

Please sign in to comment.