From 6b3234437b06aa0a8076b486359e94568cfa5df2 Mon Sep 17 00:00:00 2001 From: Christy Jacob Date: Thu, 23 May 2024 10:17:12 +0000 Subject: [PATCH] chore: add default values --- src/Logger/Adapter/LogOwl.php | 2 +- tests/e2e/Adapter/SentryTest.php | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Logger/Adapter/LogOwl.php b/src/Logger/Adapter/LogOwl.php index 5d7d2c7..43bb33d 100644 --- a/src/Logger/Adapter/LogOwl.php +++ b/src/Logger/Adapter/LogOwl.php @@ -28,7 +28,7 @@ class LogOwl extends Adapter * LogOwl constructor. * * @param string $ticket - * @param ?string $host + * @param string $host */ public function __construct(string $ticket, string $host = 'https://api.logowl.io/logging/') { diff --git a/tests/e2e/Adapter/SentryTest.php b/tests/e2e/Adapter/SentryTest.php index 4acfd1e..18509f6 100644 --- a/tests/e2e/Adapter/SentryTest.php +++ b/tests/e2e/Adapter/SentryTest.php @@ -10,6 +10,7 @@ class SentryTest extends AdapterBase protected function setUp(): void { parent::setUp(); - $this->adapter = new Sentry(\getenv('TEST_SENTRY_DSN') ?: ''); + var_dump(\getenv('TEST_SENTRY_DSN')); + $this->adapter = new Sentry('projectId', 'key'); } }