1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-06 05:07:36 +02:00

Fix scalar typehints

This commit is contained in:
Julien Breux
2016-06-28 18:41:45 +02:00
parent b1f107d12d
commit 4230ff5560
2 changed files with 3 additions and 3 deletions

View File

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

View File

@@ -64,7 +64,7 @@ class LogmaticHandler extends SocketHandler
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
protected function generateDataStream($record): String protected function generateDataStream($record): string
{ {
return $this->logToken . ' ' . $record['formatted']; return $this->logToken . ' ' . $record['formatted'];
} }