Skip to content

Commit dc344ae

Browse files
authored
Merge pull request #167 from justbetter/analysis-KonVnA
Apply fixes from StyleCI
2 parents 28cdf1b + 62deffc commit dc344ae

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Model/SentryLog.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,12 @@ public function monologContextToSentryHint(array $context): ?EventHint
9999
{
100100
return EventHint::fromArray(
101101
[
102-
'exception' => ($context['exception'] ?? null) instanceof \Throwable ? $context['exception'] : null,
103-
'mechanism' => ($context['mechanism'] ?? null) instanceof ExceptionMechanism ? $context['mechanism'] : null,
102+
'exception' => ($context['exception'] ?? null) instanceof \Throwable ? $context['exception'] : null,
103+
'mechanism' => ($context['mechanism'] ?? null) instanceof ExceptionMechanism ? $context['mechanism'] : null,
104104
'stacktrace' => ($context['stacktrace'] ?? null) instanceof Stacktrace ? $context['stacktrace'] : null,
105-
'extra' => array_filter(
105+
'extra' => array_filter(
106106
$context,
107-
fn($key) => !in_array($key, ['exception', 'mechanism', 'stacktrace']),
107+
fn ($key) => !in_array($key, ['exception', 'mechanism', 'stacktrace']),
108108
ARRAY_FILTER_USE_KEY
109109
) ?: [],
110110
]

0 commit comments

Comments
 (0)