EscolaLMS/Cart

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

Summary

Maintainability
A
1 hr
Test Coverage

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

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

    There are no issues that match your filters.

    Category
    Status