Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Formatter/ErrorHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function format($event)
* @param string $key
* @return array
*/
protected function buildReplacementsFromArray ($event, $key = null)
protected function buildReplacementsFromArray($event, $key = null)
{
$result = array();
foreach ($event as $index => $value) {
Expand Down
4 changes: 1 addition & 3 deletions src/Logger.php
Original file line number Diff line number Diff line change
Expand Up @@ -521,9 +521,7 @@ public static function registerErrorHandler(Logger $logger, $continueNativeHandl

$errorPriorityMap = static::$errorPriorityMap;

$previous = set_error_handler(function ($level, $message, $file, $line)
use ($logger, $errorPriorityMap, $continueNativeHandler)
{
$previous = set_error_handler(function ($level, $message, $file, $line) use ($logger, $errorPriorityMap, $continueNativeHandler) {
$iniLevel = error_reporting();

if ($iniLevel & $level) {
Expand Down

0 comments on commit 045cd55

Please sign in to comment.