mirror of
https://github.com/zhamao-robot/zhamao-logger.git
synced 2026-07-02 14:25:40 +08:00
phpstan
This commit is contained in:
@@ -171,6 +171,7 @@ class ConsoleLogger extends AbstractLogger
|
||||
$t['line'] = 0;
|
||||
}
|
||||
$log .= "#{$i} {$t['file']}({$t['line']}): ";
|
||||
/** @phpstan-ignore-next-line */
|
||||
if (isset($t['object']) && is_object($t['object'])) {
|
||||
$log .= get_class($t['object']) . '->';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user