| @@ 40-49 (lines=10) @@ | ||
| 37 | * | |
| 38 | * @return array | |
| 39 | */ | |
| 40 | protected function data(): array | |
| 41 |     { | |
| 42 | return [ | |
| 43 |             'application_name'  => config('app.name') ?: 'Your application', | |
| 44 | 'checker_type' => get_class($this->checker), | |
| 45 | 'failure_count' => count($this->failedData['failed_at']), | |
| 46 | 'failed_at' => Carbon::createFromTimestamp($this->failedData['failed_at'][0]), | |
| 47 | 'exception_message' => $this->exception->getMessage(), | |
| 48 | ]; | |
| 49 | } | |
| 50 | ||
| 51 | /** | |
| 52 | * Build the mail representation of the notification. | |
| @@ 37-45 (lines=9) @@ | ||
| 34 | * | |
| 35 | * @return array | |
| 36 | */ | |
| 37 | protected function data(): array | |
| 38 |     { | |
| 39 | return [ | |
| 40 |             'application_name'  => config('app.name') ?: 'Your application', | |
| 41 | 'checker_type' => get_class($this->checker), | |
| 42 | 'failed_at' => Carbon::createFromTimestamp($this->failedData['failed_at'][0]), | |
| 43 | 'exception_message' => $this->failedData['exception_message'], | |
| 44 | ]; | |
| 45 | } | |
| 46 | ||
| 47 | /** | |
| 48 | * Build the mail representation of the notification. | |