mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-23 01:26:11 +02:00
Add phpstan strict rules and deprecation rules, fix all related issues
This commit is contained in:
@@ -65,7 +65,7 @@ class WebProcessor implements ProcessorInterface
|
||||
}
|
||||
if (isset($extraFields[0])) {
|
||||
foreach (array_keys($this->extraFields) as $fieldName) {
|
||||
if (!in_array($fieldName, $extraFields)) {
|
||||
if (!in_array($fieldName, $extraFields, true)) {
|
||||
unset($this->extraFields[$fieldName]);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user