summaryrefslogtreecommitdiff
path: root/vendor/symfony/debug/Exception/SilencedErrorContext.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/symfony/debug/Exception/SilencedErrorContext.php')
-rw-r--r--vendor/symfony/debug/Exception/SilencedErrorContext.php6
1 files changed, 3 insertions, 3 deletions
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,
- );
+ ];
}
}