mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-06 13:16:39 +02:00
PHPStan fixes
This commit is contained in:
@@ -35,6 +35,3 @@ parameters:
|
||||
- '#::popProcessor\(\) should return callable#'
|
||||
- '#Parameter \#1 \$ of callable \(callable\(Monolog\\Handler\\Record\): Monolog\\Handler\\Record\)#'
|
||||
- '#is incompatible with native type array.#'
|
||||
|
||||
# can be removed when https://github.com/rollbar/rollbar-php/pull/536 will be merged
|
||||
- '#Rollbar\\RollbarLogger#'
|
||||
|
@@ -22,10 +22,10 @@ use ArrayAccess;
|
||||
* Do not rely on this interface for other purposes, and do not implement it.
|
||||
*
|
||||
* @author Jordi Boggiano <j.boggiano@seld.be>
|
||||
* @template-implements \ArrayAccess<'message'|'level'|'context'|'level_name'|'channel'|'datetime'|'extra'|'formatted', mixed>
|
||||
* @template-extends \ArrayAccess<'message'|'level'|'context'|'level_name'|'channel'|'datetime'|'extra'|'formatted', mixed>
|
||||
* @phpstan-import-type Record from Logger
|
||||
*/
|
||||
interface LogRecord implements \ArrayAccess
|
||||
interface LogRecord extends \ArrayAccess
|
||||
{
|
||||
/**
|
||||
* @phpstan-return Record
|
||||
|
Reference in New Issue
Block a user