Skip to content

Commit b5357bf

Browse files
committed
chore: removed log inline ns
1 parent 536f2ba commit b5357bf

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

app/Audit/AuditContext.php

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
<?php
2-
namespace App\Audit;
1+
<?php namespace App\Audit;
32
/**
4-
* Copyright 2025 OpenStack Foundation
3+
* Copyright 2026 OpenStack Foundation
54
* Licensed under the Apache License, Version 2.0 (the "License");
65
* you may not use this file except in compliance with the License.
76
* You may obtain a copy of the License at
@@ -16,7 +15,7 @@
1615
use Auth\Repositories\IUserRepository;
1716
use Illuminate\Support\Facades\Auth;
1817
use OAuth2\IResourceServerContext;
19-
18+
use Illuminate\Support\Facades\Log;
2019
class AuditContext
2120
{
2221

@@ -86,7 +85,7 @@ public static function fromCurrentRequest(): ?self
8685
userAgent: $req?->userAgent(),
8786
);
8887
} catch (\Exception $e) {
89-
\Illuminate\Support\Facades\Log::warning('AuditContext::fromCurrentRequest Failed to build audit context from request', [
88+
Log::warning('AuditContext::fromCurrentRequest Failed to build audit context from request', [
9089
'error' => $e->getMessage()
9190
]);
9291
return null;

0 commit comments

Comments
 (0)