| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | public function info() |
||
| 19 | { |
||
| 20 | return new LogInfo([ |
||
| 21 | 'type' => $this->getAttribute('type', 'web'), |
||
| 22 | 'table_name' => $this->getAttribute('table_name', ''), |
||
| 23 | 'content' => $this->getAttribute('content', ''), |
||
| 24 | 'client_ip' => request()->getClientIp(), |
||
| 25 | 'client' => $this->getClient(), |
||
| 26 | 'user_id' => intval(Auth::id()), |
||
| 27 | ]); |
||
| 28 | } |
||
| 29 | } |
||
| 30 |