Skip to content

Commit

Permalink
updated Logger-psalm return statement error
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergiu committed Aug 27, 2024
1 parent 2cfc06d commit 50bac84
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Logger.php
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,8 @@ public function setWriterPluginManager(WriterPluginManager $writerPlugins): stat

/**
* Get writer instance
*
* @psalm-suppress InvalidReturnStatement
*/
public function writerPlugin(string $name, ?array $options = null): WriterInterface
{
Expand Down Expand Up @@ -299,6 +301,9 @@ public function setProcessorPluginManager(string|ProcessorPluginManager $plugins
return $this;
}

/**
* @psalm-suppress InvalidReturnStatement
*/
public function processorPlugin(string $name, ?array $options = null): ProcessorInterface
{
return $this->getProcessorPluginManager()->get($name, $options);
Expand Down

0 comments on commit 50bac84

Please sign in to comment.