Skip to content

Commit

Permalink
chore: add default values
Browse files Browse the repository at this point in the history
  • Loading branch information
christyjacob4 committed May 23, 2024
1 parent 017498a commit 6b32344
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Logger/Adapter/LogOwl.php
Original file line number Diff line number Diff line change
Expand Up @@ -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/')
{
Expand Down
3 changes: 2 additions & 1 deletion tests/e2e/Adapter/SentryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
}

0 comments on commit 6b32344

Please sign in to comment.