Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add formatted key in ArrayAccess for LogRecord #1886

Merged
merged 1 commit into from
Jun 28, 2024
Merged

Conversation

lekoala
Copy link
Contributor

@lekoala lekoala commented Apr 19, 2024

since $record['formatted'] is a legal syntax, it should not be flagged by static analysis tools like phpstan

since $record['formatted'] is a legal syntax, it should not be flagged by static analysis tools like phpstan
@Seldaek
Copy link
Owner

Seldaek commented Jun 28, 2024

Right, will merge for correctness tho I cannot remember why I did not include this field, I hope it was just a mistake and not intentional. On the other hand you really should use ->formatted now IMO.

@Seldaek Seldaek merged commit 4112a18 into Seldaek:main Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants