mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-22 00:56:08 +02:00
Fix docblocks
This commit is contained in:
@@ -38,9 +38,6 @@ class UidProcessor implements ProcessorInterface, ResettableInterface
|
||||
return $record;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getUid(): string
|
||||
{
|
||||
return $this->uid;
|
||||
@@ -51,7 +48,7 @@ class UidProcessor implements ProcessorInterface, ResettableInterface
|
||||
$this->uid = $this->generateUid(strlen($this->uid));
|
||||
}
|
||||
|
||||
private function generateUid($length)
|
||||
private function generateUid(int $length): string
|
||||
{
|
||||
return substr(bin2hex(random_bytes((int) ceil($length / 2))), 0, $length);
|
||||
}
|
||||
|
Reference in New Issue
Block a user