1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-22 17:16:18 +02:00

Wrap up type-hint adding to all handlers

This commit is contained in:
Jordi Boggiano
2018-11-19 23:28:33 +01:00
parent 1c5b0b8ff4
commit 4a33226f25
47 changed files with 338 additions and 352 deletions

View File

@@ -30,14 +30,18 @@ class LogmaticFormatter extends JsonFormatter
*/
protected $appname = '';
public function setHostname(string $hostname)
public function setHostname(string $hostname): self
{
$this->hostname = $hostname;
return $this;
}
public function setAppname(string $appname)
public function setAppname(string $appname): self
{
$this->appname = $appname;
return $this;
}
/**