Skip to content

Commit

Permalink
Fix the problem by doing stricter type checking
Browse files Browse the repository at this point in the history
  • Loading branch information
biggianteye committed Jun 22, 2018
1 parent a9090fd commit 81109c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Graze/Monolog/Processor/FilterProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function __invoke(array $record)
*/
protected function filterValue(&$value, $key)
{
if (in_array($key, $this->keys)) {
if (in_array($key, $this->keys, true)) {
$value = $this->replacement;
}
}
Expand Down

0 comments on commit 81109c3

Please sign in to comment.