Apply fixes from StyleCI

This commit is contained in:
Daniil Gentili 2017-05-17 15:29:45 +00:00 committed by StyleCI Bot
parent 2ba273d148
commit c7b3a4fb79
2 changed files with 4 additions and 1 deletions

View File

@ -76,6 +76,7 @@ class Logger
return $d;
}
public static function log($params, $level = self::NOTICE)
{
if (!self::$constructed) {

View File

@ -298,7 +298,9 @@ trait TL
return $concat;
case 'bytes':
if (is_array($object)) $object = pack('C*', ...$object);
if (is_array($object)) {
$object = pack('C*', ...$object);
}
$l = strlen($object);
$concat = '';
if ($l <= 253) {