Skip to content

Commit

Permalink
interfaces and dependency injection
Browse files Browse the repository at this point in the history
  • Loading branch information
ngodinhloc committed Jun 3, 2020
1 parent a0becd2 commit 8f11fe1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Log/Monolog/MonologConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,9 @@ public function setSentryHost(string $sentryHost = null): MonologConfigInterface
}

/**
* @return string
* @return string|null
*/
public function getSentryProjectId(): string
public function getSentryProjectId()
{
return $this->sentryProjectId;
}
Expand Down
4 changes: 2 additions & 2 deletions src/Log/Monolog/MonologConfigInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ public function getSentryHost(): string;
public function setSentryHost(string $sentryHost = null): MonologConfigInterface;

/**
* @return string
* @return string|null
*/
public function getSentryProjectId(): string;
public function getSentryProjectId();

/**
* @param string $sentryProjectId
Expand Down

0 comments on commit 8f11fe1

Please sign in to comment.