EscolaLMS/Cart

View on GitHub
src/Http/Requests/Admin/ProductCreateRequest.php

Summary

Maintainability
A
1 hr
Test Coverage

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

    public function rules(): array
    {
        return [
            'name' => ['required', 'string'],
            'type' => ['required', Rule::in(ProductType::getValues())],
Severity: Minor
Found in src/Http/Requests/Admin/ProductCreateRequest.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status