mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-22 17:16:18 +02:00
Add a bunch of return types and fix type inconsistencies reports from phan
This commit is contained in:
@@ -21,30 +21,20 @@ class LogmaticFormatter extends JsonFormatter
|
||||
const MARKERS = ["sourcecode", "php"];
|
||||
|
||||
/**
|
||||
* @param string
|
||||
* @var string
|
||||
*/
|
||||
protected $hostname = '';
|
||||
|
||||
/**
|
||||
* @param string
|
||||
* @var string
|
||||
*/
|
||||
protected $appname = '';
|
||||
|
||||
/**
|
||||
* Set hostname
|
||||
*
|
||||
* @param string $hostname
|
||||
*/
|
||||
public function setHostname(string $hostname)
|
||||
{
|
||||
$this->hostname = $hostname;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set appname
|
||||
*
|
||||
* @param string $appname
|
||||
*/
|
||||
public function setAppname(string $appname)
|
||||
{
|
||||
$this->appname = $appname;
|
||||
|
Reference in New Issue
Block a user