awsmug/torro-forms

View on GitHub
src/db-objects/containers/rest-containers-controller.php

Summary

Maintainability
A
1 hr
Test Coverage

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

    protected function prepare_links( $container ) {
        $links = parent::prepare_links( $container );

        if ( ! empty( $container->form_id ) ) {
            $links['parent_form'] = array(
Severity: Minor
Found in src/db-objects/containers/rest-containers-controller.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status