From 7def76c7d817a9ec81e9ae4a03a850514b1a2e1c Mon Sep 17 00:00:00 2001 From: Greg Roach Date: Sun, 3 Feb 2019 13:44:03 +0000 Subject: Working on upgrade wizard and testing --- vendor/symfony/debug/Exception/SilencedErrorContext.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vendor/symfony/debug/Exception/SilencedErrorContext.php') diff --git a/vendor/symfony/debug/Exception/SilencedErrorContext.php b/vendor/symfony/debug/Exception/SilencedErrorContext.php index 6f84617c46..236c56ed0e 100644 --- a/vendor/symfony/debug/Exception/SilencedErrorContext.php +++ b/vendor/symfony/debug/Exception/SilencedErrorContext.php @@ -25,7 +25,7 @@ class SilencedErrorContext implements \JsonSerializable private $line; private $trace; - public function __construct(int $severity, string $file, int $line, array $trace = array(), int $count = 1) + public function __construct(int $severity, string $file, int $line, array $trace = [], int $count = 1) { $this->severity = $severity; $this->file = $file; @@ -56,12 +56,12 @@ class SilencedErrorContext implements \JsonSerializable public function JsonSerialize() { - return array( + return [ 'severity' => $this->severity, 'file' => $this->file, 'line' => $this->line, 'trace' => $this->trace, 'count' => $this->count, - ); + ]; } } -- cgit v1.3