BookStackApp/BookStack

View on GitHub
app/Users/Controllers/UserApiController.php

Summary

Maintainability
A
1 hr
Test Coverage

Method rules has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    protected function rules(int $userId = null): array
    {
        return [
            'create' => [
                'name'  => ['required', 'string', 'min:1', 'max:100'],
Severity: Minor
Found in app/Users/Controllers/UserApiController.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status