Fix method signature issue
All checks were successful
Gitea - aviat/banker/pipeline/head This commit looks good

This commit is contained in:
Timothy Warren 2023-03-16 14:24:39 -04:00
parent f55c9c7c8e
commit 5719b42308
2 changed files with 2 additions and 4 deletions

View File

@ -45,7 +45,7 @@ trait LoggerTrait {
/**
* Set a logger to keep track of errors
*/
public function setLogger(LoggerInterface $logger): self
public function setLogger(LoggerInterface $logger): void
{
$this->logger = $logger;
@ -54,7 +54,5 @@ trait LoggerTrait {
{
$this->driver->setLogger($logger);
}
return $this;
}
}

View File

@ -222,7 +222,7 @@ class TellerTest extends TestCase {
$this->teller->get($key);
}
public function keyValidationTests(): array
public static function keyValidationTests(): array
{
// {}()/@:\\\
return [