@@ -34,11 +34,11 @@ |
||
| 34 | 34 | foreach($userLinks as $user) |
| 35 | 35 | { |
| 36 | 36 | $expired = $user->FileLinks->filter(function($lnk) { |
| 37 | - if($lnk->expire < date('Y-m-d')) |
|
| 38 | - { |
|
| 39 | - return $lnk; |
|
| 40 | - } |
|
| 41 | - })->count(); |
|
| 37 | + if($lnk->expire < date('Y-m-d')) |
|
| 38 | + { |
|
| 39 | + return $lnk; |
|
| 40 | + } |
|
| 41 | + })->count(); |
|
| 42 | 42 | |
| 43 | 43 | $linkCount[] = [ |
| 44 | 44 | 'user_id' => $user->user_id, |
@@ -39,17 +39,17 @@ |
||
| 39 | 39 | // { |
| 40 | 40 | // parent::report($exception); |
| 41 | 41 | // } |
| 42 | - if(!config('app.stack_trace') && $exception->getMessage() != null) |
|
| 43 | - { |
|
| 42 | + if(!config('app.stack_trace') && $exception->getMessage() != null) |
|
| 43 | + { |
|
| 44 | 44 | // dd($excption); |
| 45 | 45 | |
| 46 | 46 | parent::report($exception); |
| 47 | 47 | // Log::error('[' . $exception->getCode() . '] "' . $exception->getMessage() . '" on line ' . $exception->getTrace()[0]['line'] . ' of file ' . $exception->getTrace()[0]['file']); |
| 48 | - } |
|
| 49 | - else |
|
| 50 | - { |
|
| 48 | + } |
|
| 49 | + else |
|
| 50 | + { |
|
| 51 | 51 | parent::report($exception); |
| 52 | - } |
|
| 52 | + } |
|
| 53 | 53 | } |
| 54 | 54 | |
| 55 | 55 | /** |