@@ -16,8 +16,8 @@ |
||
| 16 | 16 | { |
| 17 | 17 | return [ |
| 18 | 18 | 'data' => $this->data, |
| 19 | - 'read_at' => ! empty($this->read_at) ? $this->read_at->toDate() : null, |
|
| 20 | - 'created_at' => ! empty($this->created_at) ? $this->created_at->toDate() : null, |
|
| 19 | + 'read_at' => !empty($this->read_at) ? $this->read_at->toDate() : null, |
|
| 20 | + 'created_at' => !empty($this->created_at) ? $this->created_at->toDate() : null, |
|
| 21 | 21 | ]; |
| 22 | 22 | } |
| 23 | 23 | } |