@@ -55,7 +55,7 @@ public function validateValidatorConfiguration($validatorConfiguration): array
5555 * Validates a field based on the validators in the field definition.
5656 *
5757 * @param FieldDefinition $fieldDefinition The field definition of the field
58- * @param SPIValue $value The field value for which an action is performed
58+ * @param SPIValue $value The field value for which an action is performed
5959 *
6060 * @return \eZ\Publish\SPI\FieldType\ValidationError[]
6161 */
@@ -72,8 +72,6 @@ public function validate(FieldDefinition $fieldDefinition, SPIValue $value): arr
7272
7373 /**
7474 * Returns the field type identifier for this field type.
75- *
76- * @return string
7775 */
7876 public function getFieldTypeIdentifier (): string
7977 {
@@ -91,6 +89,7 @@ public function getName(ValueInterface $value, FieldDefinition $fieldDefinition,
9189 if ($ value instanceof Value) {
9290 return (string ) $ value ->menuItems ;
9391 }
92+
9493 return '' ;
9594 }
9695
@@ -101,10 +100,6 @@ public function getEmptyValue(): Value
101100
102101 /**
103102 * Returns if the given $value is considered empty by the field type.
104- *
105- * @param SPIValue $value
106- *
107- * @return bool
108103 */
109104 public function isEmptyValue (SPIValue $ value ): bool
110105 {
@@ -138,8 +133,6 @@ protected function checkValueStructure(BaseValue $value): void
138133 * Returns information for FieldValue->$sortKey relevant to the field type.
139134 *
140135 * @param Value $value
141- *
142- * @return array|null
143136 */
144137 protected function getSortInfo (BaseValue $ value ): ?array
145138 {
@@ -148,9 +141,6 @@ protected function getSortInfo(BaseValue $value): ?array
148141
149142 /**
150143 * Converts a persistence $fieldValue to a Value.
151- *
152- * @param PersistenceValue $fieldValue
153- * @return value
154144 */
155145 public function fromPersistenceValue (PersistenceValue $ fieldValue ): Value
156146 {
@@ -191,8 +181,6 @@ public function toHash(SPIValue $value)
191181
192182 /**
193183 * Returns whether the field type is searchable.
194- *
195- * @return bool
196184 */
197185 public function isSearchable (): bool
198186 {
0 commit comments