It seems like $level defined by parameter $level on line 30 can also be of type boolean; however, Monolog\Handler\AbstractHandler::__construct() does only seem to accept integer, maybe add an additional type check?
This check looks at variables that have been passed in as parameters and are passed out again
to other methods.
If the outgoing method call has stricter type requirements than the method itself, an issue is raised.
An additional type check may prevent trouble.
Loading history...
35
}
36
37
/**
38
* If title is provided we use that for the notification title, otherwise the record level name
This check looks at variables that have been passed in as parameters and are passed out again to other methods.
If the outgoing method call has stricter type requirements than the method itself, an issue is raised.
An additional type check may prevent trouble.