Fixing bad order of operations with null coalescing operator
This commit is contained in:
parent
6e44447e5d
commit
629126435d
|
@ -41,7 +41,7 @@ class ProblemNormalizer implements NormalizerInterface, CacheableSupportsMethodI
|
|||
public function normalize($exception, $format = null, array $context = [])
|
||||
{
|
||||
$context += $this->defaultContext;
|
||||
$debug = $this->debug && $context['debug'] ?? true;
|
||||
$debug = $this->debug && ($context['debug'] ?? true);
|
||||
|
||||
$data = [
|
||||
'type' => $context['type'],
|
||||
|
|
Reference in New Issue