@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | |
56 | 56 | $hub = $options['hub'] ?? null; |
57 | 57 | |
58 | - if (null !== $hub && ! $hub instanceof HubInterface) { |
|
58 | + if (null !== $hub && !$hub instanceof HubInterface) { |
|
59 | 59 | throw new Exception\InvalidArgumentException('Invalid Sentry Hub'); |
60 | 60 | } |
61 | 61 | |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | |
76 | 76 | if ($context instanceof Traversable) { |
77 | 77 | $context = \iterator_to_array($context); |
78 | - } elseif (! \is_array($context)) { |
|
78 | + } elseif (!\is_array($context)) { |
|
79 | 79 | $context = []; |
80 | 80 | } |
81 | 81 | |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | unset($context['exception']); |
92 | 92 | } |
93 | 93 | |
94 | - $hub->withScope(static function (Scope $scope) use ($hub, $event, $context, $payload): void { |
|
94 | + $hub->withScope(static function(Scope $scope) use ($hub, $event, $context, $payload): void { |
|
95 | 95 | $scope->setExtra('laminas.priority', $event['priority']); |
96 | 96 | |
97 | 97 | foreach ($context as $key => $value) { |