Skip to content

Commit

Permalink
Add return type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
pspanja committed Feb 21, 2024
1 parent 16e9d48 commit 9de10df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Core/FieldType/RichText/Indexable.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function __construct($shortTextMaxLength = 256)
$this->shortTextMaxLength = $shortTextMaxLength;
}

public function getIndexData(Field $field, FieldDefinition $fieldDefinition)
public function getIndexData(Field $field, FieldDefinition $fieldDefinition): array
{
$document = new DOMDocument();
$document->loadXML($field->value->data);
Expand Down

0 comments on commit 9de10df

Please sign in to comment.