Skip to content

Commit 4f90fc8

Browse files
committed
CS
1 parent 1bd2480 commit 4f90fc8

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/Sentry/Laravel/EventHandler.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,11 @@ class EventHandler
9999
*/
100100
public function __construct(Dispatcher $events, array $config)
101101
{
102-
$this->events = $events;
103-
$this->recordSqlQueries = ($config['breadcrumbs.sql_queries'] ?? $config['breadcrumbs']['sql_queries'] ?? true) === true;
102+
$this->events = $events;
103+
$this->recordSqlQueries = ($config['breadcrumbs.sql_queries'] ?? $config['breadcrumbs']['sql_queries'] ?? true) === true;
104104
$this->recordSqlBindings = ($config['breadcrumbs.sql_bindings'] ?? $config['breadcrumbs']['sql_bindings'] ?? false) === true;
105105
$this->recordLaravelLogs = ($config['breadcrumbs.logs'] ?? $config['breadcrumbs']['logs'] ?? true) === true;
106-
$this->recordQueueInfo = ($config['breadcrumbs.queue_info'] ?? $config['breadcrumbs']['queue_info'] ?? true) === true;
106+
$this->recordQueueInfo = ($config['breadcrumbs.queue_info'] ?? $config['breadcrumbs']['queue_info'] ?? true) === true;
107107
}
108108

109109
/**
@@ -288,9 +288,9 @@ protected function messageLoggedHandler(MessageLogged $logEntry)
288288
/**
289289
* Helper to add an log breadcrumb.
290290
*
291-
* @param string $level Log level. May be any standard.
292-
* @param string $message Log messsage.
293-
* @param array $context Log context.
291+
* @param string $level Log level. May be any standard.
292+
* @param string $message Log messsage.
293+
* @param array $context Log context.
294294
*/
295295
private function addLogBreadcrumb(string $level, string $message, array $context = []): void
296296
{
@@ -310,13 +310,13 @@ private function addLogBreadcrumb(string $level, string $message, array $context
310310
/**
311311
* Translates common log levels to Sentry breadcrumb levels.
312312
*
313-
* @param string $level Log level. Maybe any standard.
313+
* @param string $level Log level. Maybe any standard.
314314
*
315315
* @return string Breadcrumb level.
316316
*/
317317
protected function logLevelToBreadcrumbLevel(string $level): string
318318
{
319-
// @TODO: Once we depend on `sentry-php` 3.0 we can use `Breadcrumb::LEVEL_FATAL` directly.
319+
// @TODO: Once we depend on `sentry-php` 3.x we can use `Breadcrumb::LEVEL_FATAL` directly
320320
$fatal = defined(Breadcrumb::class . '::LEVEL_FATAL')
321321
? constant(Breadcrumb::class . '::LEVEL_FATAL')
322322
: constant(Breadcrumb::class . '::LEVEL_CRITICAL');

0 commit comments

Comments
 (0)