File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
1615use Auth \Repositories \IUserRepository ;
1716use Illuminate \Support \Facades \Auth ;
1817use OAuth2 \IResourceServerContext ;
19-
18+ use Illuminate \ Support \ Facades \ Log ;
2019class 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 ;
You can’t perform that action at this time.
0 commit comments