Laragear/Alerts

View on GitHub
src/Alert.php

Summary

Maintainability
A
0 mins
Test Coverage

Alert has 30 functions (exceeds 20 allowed). Consider refactoring.
Invalid

class Alert implements Arrayable, Jsonable, JsonSerializable, Stringable
{
    use Macroable {
        __call as macroCall;
    }
Severity: Minor
Found in src/Alert.php - About 3 hrs to fix

    Method __construct has 7 arguments (exceeds 4 allowed). Consider refactoring.
    Invalid

            protected Bag $bag,
            protected ?string $persistKey = null,
            protected string $message = '',
            protected array $types = [],
            protected array $links = [],
    Severity: Major
    Found in src/Alert.php - About 50 mins to fix

      There are no issues that match your filters.

      Category
      Status