BookStackApp/BookStack

View on GitHub
app/App/PwaManifestBuilder.php

Summary

Maintainability
A
1 hr
Test Coverage

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

    public function build(): array
    {
        // Note, while we attempt to use the user's preference here, the request to the manifest
        // does not start a session, so we won't have current user context.
        // This was attempted but removed since manifest calls could affect user session
Severity: Minor
Found in app/App/PwaManifestBuilder.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status