Passed
Push — master ( 0f55a0...f4a81c )
by Ioannes
02:07
created
src/Log.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
      */
18 18
     public function __construct($channel = '') {
19 19
 
20
-        if(!empty($channel)) {
20
+        if (!empty($channel)) {
21 21
             $this->channel = $channel;
22 22
         } else {
23 23
             $this->channel = ($_ENV['APP_LOG_BITRIX_CHANNEL'] ?: 'bitrix');
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
 
187 187
         $logger = LoggerFactory::getInstance(LoggerFactory::TELEGRAM_CHANNEL, $context);
188 188
 
189
-        if($logger) {
189
+        if ($logger) {
190 190
             try {
191 191
                 $message = FormatHelper::stringfyTelegramMessage($message, (array) $context);
192 192
                 $logger->log($level, $message, $context);
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
         $minDebugLevel = ($_ENV['APP_DEBUG_LEVEL'] ?: LogLevel::DEBUG);
212 212
         $minDebugLevel = Logger::toMonologLevel($minDebugLevel);
213 213
 
214
-        if($level >= $minDebugLevel) {
214
+        if ($level >= $minDebugLevel) {
215 215
             return true;
216 216
         }
217 217
         return false;
Please login to merge, or discard this patch.