felixarntz/theme-boilerplate

View on GitHub
inc/library/fonts/class-font.php

Summary

Maintainability
A
1 hr
Test Coverage

Method __construct has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function __construct( $id, array $args = array() ) {
        $this->id = (string) $id;

        $defaults = $this->get_defaults();
        foreach ( $defaults as $prop => $default_value ) {
Severity: Minor
Found in inc/library/fonts/class-font.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status