repo/rest-api/src/Application/UseCases/ReplaceStatement/ReplaceStatement.php
Method execute
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function execute( ReplaceStatementRequest $request ): ReplaceStatementResponse {
$deserializedRequest = $this->validator->validateAndDeserialize( $request );
$statementId = $deserializedRequest->getStatementId();
$statement = $deserializedRequest->getStatement();
$editMetadata = $deserializedRequest->getEditMetadata();