Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Jan 14, 2022
1 parent 8503f78 commit 88ff00b
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions tests/ArrayLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,47 +8,47 @@ class ArrayLogger implements LoggerInterface
{
protected $logLines = [];

public function emergency($message, array $context = [])
public function emergency($message, array $context = []): void
{
$this->logLines[] = "emergency: {$message}";
}

public function alert($message, array $context = [])
public function alert($message, array $context = []): void
{
$this->logLines[] = "alert: {$message}";
}

public function critical($message, array $context = [])
public function critical($message, array $context = []): void
{
$this->logLines[] = "critical: {$message}";
}

public function error($message, array $context = [])
public function error($message, array $context = []): void
{
$this->logLines[] = "error: {$message}";
}

public function warning($message, array $context = [])
public function warning($message, array $context = []): void
{
$this->logLines[] = "warning: {$message}";
}

public function notice($message, array $context = [])
public function notice($message, array $context = []): void
{
$this->logLines[] = "notice: {$message}";
}

public function info($message, array $context = [])
public function info($message, array $context = []): void
{
$this->logLines[] = "info: {$message}";
}

public function debug($message, array $context = [])
public function debug($message, array $context = []): void
{
$this->logLines[] = "debug: {$message}";
}

public function log($level, $message, array $context = [])
public function log($level, $message, array $context = []): void
{
$this->logLines[] = "log: {$message}";
}
Expand Down

0 comments on commit 88ff00b

Please sign in to comment.