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 fb2e74a commit 017498a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Logger/Adapter/LogOwl.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class LogOwl extends Adapter
* @param string $ticket
* @param ?string $host
*/
public function __construct(string $ticket, ?string $host = 'https://api.logowl.io/logging/')
public function __construct(string $ticket, string $host = 'https://api.logowl.io/logging/')
{
$this->ticket = $ticket;
$this->logOwlHost = $host;
Expand Down
4 changes: 2 additions & 2 deletions src/Logger/Adapter/Sentry.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ class Sentry extends Adapter
*
* @param string $projectId
* @param string $key
* @param ?string $host
* @param string $host
*/
public function __construct(string $projectId, string $key, ?string $host = 'https://sentry.io')
public function __construct(string $projectId, string $key, string $host = 'https://sentry.io')
{
$this->sentryHost = $host;
$this->sentryKey = $key;
Expand Down

0 comments on commit 017498a

Please sign in to comment.