1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-24 18:16:10 +02:00

Replace call_user_func

This commit is contained in:
Mponos George
2020-07-08 23:02:57 +03:00
parent 53e2c97b0b
commit a54cd1f178
8 changed files with 10 additions and 10 deletions

View File

@@ -159,7 +159,7 @@ class TestHandler extends AbstractProcessingHandler
}
foreach ($this->recordsByLevel[$level] as $i => $rec) {
if (call_user_func($predicate, $rec, $i)) {
if ($predicate($rec, $i)) {
return true;
}
}