repo/rest-api/src/Application/UseCaseRequestValidation/PropertyDescriptionEditRequestValidatingDeserializer.php
Method validateAndDeserialize
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function validateAndDeserialize( PropertyDescriptionEditRequest $request ): Term {
$property = $this->propertyRetriever->getPropertyWriteModel( new NumericPropertyId( $request->getPropertyId() ) );
$language = $request->getLanguageCode();
$description = $request->getDescription();