comparison vendor/symfony/debug/Exception/ContextErrorException.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents 7a779792577d
children
comparison
equal deleted inserted replaced
16:c2387f117808 17:129ea1e6d783
18 * 18 *
19 * @deprecated since version 3.3. Instead, \ErrorException will be used directly in 4.0. 19 * @deprecated since version 3.3. Instead, \ErrorException will be used directly in 4.0.
20 */ 20 */
21 class ContextErrorException extends \ErrorException 21 class ContextErrorException extends \ErrorException
22 { 22 {
23 private $context = array(); 23 private $context = [];
24 24
25 public function __construct($message, $code, $severity, $filename, $lineno, $context = array()) 25 public function __construct($message, $code, $severity, $filename, $lineno, $context = [])
26 { 26 {
27 parent::__construct($message, $code, $severity, $filename, $lineno); 27 parent::__construct($message, $code, $severity, $filename, $lineno);
28 $this->context = $context; 28 $this->context = $context;
29 } 29 }
30 30