Fix: estructura interface
This commit is contained in:
@ -7,10 +7,9 @@ use Psr\Log\LoggerInterface;
|
|||||||
abstract class LoggerEnabled implements LoggerAwareInterface
|
abstract class LoggerEnabled implements LoggerAwareInterface
|
||||||
{
|
{
|
||||||
protected LoggerInterface $logger;
|
protected LoggerInterface $logger;
|
||||||
public function setLogger(LoggerInterface $logger): self
|
public function setLogger(LoggerInterface $logger): void
|
||||||
{
|
{
|
||||||
$this->logger = $logger;
|
$this->logger = $logger;
|
||||||
return $this;
|
|
||||||
}
|
}
|
||||||
public function getLogger(): LoggerInterface
|
public function getLogger(): LoggerInterface
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user