We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13cff1e commit 7976abaCopy full SHA for 7976aba
app/Audit/AbstractAuditLogFormatter.php
@@ -34,10 +34,10 @@ final public function setContext(AuditContext $ctx): void
34
35
protected function getUserInfo(): string
36
{
37
- if (app()->runningInConsole()) {
38
- return 'Worker Job';
39
- }
40
if (!$this->ctx) {
+ if (app()->runningInConsole()) {
+ return 'Worker Job';
+ }
41
return 'Unknown (unknown)';
42
}
43
0 commit comments