@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | |
| 62 | 62 | $hub = $options['hub'] ?? null; |
| 63 | 63 | |
| 64 | - if (null !== $hub && ! $hub instanceof HubInterface) { |
|
| 64 | + if (null !== $hub && !$hub instanceof HubInterface) { |
|
| 65 | 65 | throw new Exception\InvalidArgumentException('Invalid Sentry Hub'); |
| 66 | 66 | } |
| 67 | 67 | |
@@ -82,11 +82,11 @@ discard block |
||
| 82 | 82 | |
| 83 | 83 | if ($context instanceof Traversable) { |
| 84 | 84 | $context = \iterator_to_array($context); |
| 85 | - } elseif (! \is_array($context)) { |
|
| 85 | + } elseif (!\is_array($context)) { |
|
| 86 | 86 | $context = []; |
| 87 | 87 | } |
| 88 | 88 | |
| 89 | - $hub->withScope(function (Scope $scope) use ($hub, $event, $context): void { |
|
| 89 | + $hub->withScope(function(Scope $scope) use ($hub, $event, $context): void { |
|
| 90 | 90 | $scope->setExtra('laminas.priority', $event['priority']); |
| 91 | 91 | |
| 92 | 92 | $hints = []; |