mirror of
https://github.com/zhamao-robot/zhamao-logger.git
synced 2026-03-17 20:44:52 +08:00
phpstan
This commit is contained in:
parent
81ab0b98f6
commit
2551b3e1db
@ -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']) . '->';
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user