1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-02-24 15:02:28 +01:00

Eliminate local variables used as pseudo-named-arguments, as suggested

by @Stof in https://github.com/Seldaek/monolog/pull/76#r740449
This commit is contained in:
Marc Abramowitz 2012-04-26 14:16:41 -07:00
parent 1c5969629f
commit 7a81acd28b

View File

@ -59,9 +59,9 @@ class RavenHandler extends AbstractProcessingHandler
} else {
$this->ravenClient->captureMessage(
$record['formatted']['message'],
$params = $record,
$level = $record['formatted']['level'],
$stack = true
$record, // $params
$record['formatted']['level'], // $level
true // $stack
);
}
}