1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-22 17:16:18 +02:00
This commit is contained in:
Jordi Boggiano
2016-07-02 15:12:25 +01:00
parent a36b099646
commit f16e67d523
9 changed files with 27 additions and 24 deletions

View File

@@ -150,7 +150,7 @@ class JsonFormatter extends NormalizerFormatter
$normalized['...'] = 'Over 1000 items, aborting normalization';
break;
}
$normalized[$key] = $this->normalize($value, $depth+1);
$normalized[$key] = $this->normalize($value, $depth + 1);
}
return $normalized;

View File

@@ -33,8 +33,9 @@ class LogmaticFormatter extends JsonFormatter
*
* @param string $hostname
*/
public function setHostname(string $hostname) {
$this->hostname = $hostname;
public function setHostname(string $hostname)
{
$this->hostname = $hostname;
}
/**
@@ -42,7 +43,8 @@ class LogmaticFormatter extends JsonFormatter
*
* @param string $appname
*/
public function setAppname(string $appname) {
public function setAppname(string $appname)
{
$this->appname = $appname;
}

View File

@@ -84,7 +84,7 @@ class NormalizerFormatter implements FormatterInterface
$normalized['...'] = 'Over 1000 items, aborting normalization';
break;
}
$normalized[$key] = $this->normalize($value, $depth+1);
$normalized[$key] = $this->normalize($value, $depth + 1);
}
return $normalized;