BookStackApp/BookStack

View on GitHub
app/Entities/Tools/PageEditorData.php

Summary

Maintainability
A
1 hr
Test Coverage

Method build has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    protected function build(): array
    {
        $page = clone $this->page;
        $isDraft = boolval($this->page->draft);
        $templates = $this->queries->pages->visibleTemplates()
Severity: Minor
Found in app/Entities/Tools/PageEditorData.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status