1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-23 17:46:09 +02:00

Move phpdoc to native types

This commit is contained in:
Jordi Boggiano
2022-04-20 09:21:58 +02:00
parent 2695fa86cd
commit 7952a83e0c
117 changed files with 432 additions and 766 deletions

View File

@@ -27,15 +27,13 @@ class SlackHandler extends SocketHandler
{
/**
* Slack API token
* @var string
*/
private $token;
private string $token;
/**
* Instance of the SlackRecord util class preparing data for Slack API.
* @var SlackRecord
*/
private $slackRecord;
private SlackRecord $slackRecord;
/**
* @param string $token Slack API token
@@ -104,7 +102,7 @@ class SlackHandler extends SocketHandler
}
/**
* {@inheritDoc}
* @inheritDoc
*/
protected function generateDataStream(LogRecord $record): string
{
@@ -153,7 +151,7 @@ class SlackHandler extends SocketHandler
}
/**
* {@inheritDoc}
* @inheritDoc
*/
protected function write(LogRecord $record): void
{