mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-23 09:36:11 +02:00
CS fixes
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<?php
|
||||
<?php declare(strict_types=1);
|
||||
|
||||
/*
|
||||
* This file is part of the Monolog package.
|
||||
@@ -127,7 +127,7 @@ class SlackRecord
|
||||
'color' => $this->getAttachmentColor($record['level']),
|
||||
'fields' => array(),
|
||||
'mrkdwn_in' => array('fields'),
|
||||
'ts' => $record['datetime']->getTimestamp()
|
||||
'ts' => $record['datetime']->getTimestamp(),
|
||||
);
|
||||
|
||||
if ($this->useShortAttachment) {
|
||||
@@ -137,7 +137,6 @@ class SlackRecord
|
||||
$attachment['fields'][] = $this->generateAttachmentField('Level', $record['level_name']);
|
||||
}
|
||||
|
||||
|
||||
if ($this->includeContextAndExtra) {
|
||||
foreach (array('extra', 'context') as $key) {
|
||||
if (empty($record[$key])) {
|
||||
@@ -229,7 +228,7 @@ class SlackRecord
|
||||
/**
|
||||
* Generates attachment field
|
||||
*
|
||||
* @param string $title
|
||||
* @param string $title
|
||||
* @param string|array $value\
|
||||
*
|
||||
* @return array
|
||||
@@ -243,7 +242,7 @@ class SlackRecord
|
||||
return array(
|
||||
'title' => $title,
|
||||
'value' => $value,
|
||||
'short' => false
|
||||
'short' => false,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user