wikimedia/mediawiki-extensions-Wikibase

View on GitHub
repo/rest-api/src/Application/UseCases/ReplaceStatement/ReplaceStatement.php

Summary

Maintainability
A
1 hr
Test Coverage

Method execute has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function execute( ReplaceStatementRequest $request ): ReplaceStatementResponse {
        $deserializedRequest = $this->validator->validateAndDeserialize( $request );
        $statementId = $deserializedRequest->getStatementId();
        $statement = $deserializedRequest->getStatement();
        $editMetadata = $deserializedRequest->getEditMetadata();

    There are no issues that match your filters.

    Category
    Status