mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-21 08:36:33 +02:00
Use @return $this
where applicable (#1828)
This commit is contained in:
@@ -33,6 +33,7 @@ class TagProcessor implements ProcessorInterface
|
||||
|
||||
/**
|
||||
* @param string[] $tags
|
||||
* @return $this
|
||||
*/
|
||||
public function addTags(array $tags = []): self
|
||||
{
|
||||
@@ -43,6 +44,7 @@ class TagProcessor implements ProcessorInterface
|
||||
|
||||
/**
|
||||
* @param string[] $tags
|
||||
* @return $this
|
||||
*/
|
||||
public function setTags(array $tags = []): self
|
||||
{
|
||||
|
@@ -90,6 +90,9 @@ class WebProcessor implements ProcessorInterface
|
||||
return $record;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return $this
|
||||
*/
|
||||
public function addExtraField(string $extraName, string $serverName): self
|
||||
{
|
||||
$this->extraFields[$extraName] = $serverName;
|
||||
|
Reference in New Issue
Block a user