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

Code cleanups

This commit is contained in:
Jordi Boggiano
2022-03-05 14:03:57 +01:00
parent b586dbe8e6
commit 5eb9b8ed93
109 changed files with 418 additions and 549 deletions

View File

@@ -22,8 +22,6 @@ use Monolog\LogRecord;
*
* @author Greg Kedzierski <greg@gregkedzierski.com>
* @see https://api.slack.com/
*
* @phpstan-import-type FormattedRecord from AbstractProcessingHandler
*/
class SlackHandler extends SocketHandler
{
@@ -117,8 +115,6 @@ class SlackHandler extends SocketHandler
/**
* Builds the body of API call
*
* @phpstan-param FormattedRecord $record
*/
private function buildContent(LogRecord $record): string
{
@@ -128,7 +124,6 @@ class SlackHandler extends SocketHandler
}
/**
* @phpstan-param FormattedRecord $record
* @return string[]
*/
protected function prepareContentData(LogRecord $record): array