mirror of
https://github.com/Seldaek/monolog.git
synced 2025-07-31 10:20:14 +02:00
add formatted key in ArrayAccess for LogRecord (#1886)
since $record['formatted'] is a legal syntax, it should not be flagged by static analysis tools like phpstan
This commit is contained in:
committed by
GitHub
parent
b56faa67a0
commit
4112a1880b
@@ -17,7 +17,7 @@ use ArrayAccess;
|
||||
* Monolog log record
|
||||
*
|
||||
* @author Jordi Boggiano <j.boggiano@seld.be>
|
||||
* @template-implements ArrayAccess<'message'|'level'|'context'|'level_name'|'channel'|'datetime'|'extra', int|string|\DateTimeImmutable|array<mixed>>
|
||||
* @template-implements ArrayAccess<'message'|'level'|'context'|'level_name'|'channel'|'datetime'|'extra'|'formatted', int|string|\DateTimeImmutable|array<mixed>>
|
||||
*/
|
||||
class LogRecord implements ArrayAccess
|
||||
{
|
||||
|
Reference in New Issue
Block a user