From b56a804f9395b8d6f147660b733bdc64a19fa8e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Pineau?= Date: Thu, 2 Apr 2015 21:18:30 +0200 Subject: [PATCH] [Debug] Renamed "context" key to "scope_vars" to avoid any ambiguity --- src/Symfony/Component/Debug/ErrorHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }