From 4eba9bc03d5410dd2b0c117c9022eb0292f9a0bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20W=C3=B3js?= Date: Wed, 11 Oct 2023 22:28:58 +0200 Subject: [PATCH] IBX-6601: Fixed \Ibexa\Core\FieldType\Unindexed class description --- src/lib/FieldType/Unindexed.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/lib/FieldType/Unindexed.php b/src/lib/FieldType/Unindexed.php index 09c29cb234..30fde7f162 100644 --- a/src/lib/FieldType/Unindexed.php +++ b/src/lib/FieldType/Unindexed.php @@ -11,7 +11,9 @@ use Ibexa\Contracts\Core\Persistence\Content\Type\FieldDefinition; /** - * Indexable definition for string field type. + * Empty implementation of \Ibexa\Contracts\Core\FieldType\Indexable. + * + * Used when field type doesn't contribute to search index. */ class Unindexed implements Indexable { @@ -31,8 +33,6 @@ public function getIndexDefinition() * As field types can index multiple fields (see MapLocation field type's * implementation of this interface), this method is used to define default * field for matching. Default field is typically used by Field criterion. - * - * @return string */ public function getDefaultMatchField() { @@ -45,8 +45,6 @@ public function getDefaultMatchField() * As field types can index multiple fields (see MapLocation field type's * implementation of this interface), this method is used to define default * field for sorting. Default field is typically used by Field sort clause. - * - * @return string */ public function getDefaultSortField() {