nordsoftware/lumen-core

View on GitHub
src/Traits/CreatesHttpResponses.php

Summary

Maintainability
A
1 hr
Test Coverage

Method validationFailedResponse has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

        $message,
        array $errors,
        array $data,
        $status = 422,
        array $headers = []
Severity: Minor
Found in src/Traits/CreatesHttpResponses.php - About 35 mins to fix

    Method throwValidationFailed has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        private function throwValidationFailed($message, array $errors, $data = [], $status = 422, array $headers = [])
    Severity: Minor
    Found in src/Traits/CreatesHttpResponses.php - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status