diff --git a/src/Symfony/Component/Debug/ErrorHandler.php b/src/Symfony/Component/Debug/ErrorHandler.php index 280d5f8abc..a8f865a399 100644 --- a/src/Symfony/Component/Debug/ErrorHandler.php +++ b/src/Symfony/Component/Debug/ErrorHandler.php @@ -399,7 +399,7 @@ class ErrorHandler if ($type & $level) { if ($this->scopedErrors & $type) { - $e['context'] = $context; + $e['scope_vars'] = $context; if ($trace) { $e['stack'] = debug_backtrace(true); // Provide object }