@@ -61,7 +61,7 @@ |
||
61 | 61 | * |
62 | 62 | * @throws Throwable |
63 | 63 | */ |
64 | - public function delete(): RedirectResponse|Redirector|null |
|
64 | + public function delete(): RedirectResponse | Redirector | null |
|
65 | 65 | { |
66 | 66 | $this->authorize('delete', $this->discussPost); |
67 | 67 |
@@ -63,7 +63,7 @@ |
||
63 | 63 | * |
64 | 64 | * @throws Throwable |
65 | 65 | */ |
66 | - public function delete(): Redirector|RedirectResponse|null |
|
66 | + public function delete(): Redirector | RedirectResponse | null |
|
67 | 67 | { |
68 | 68 | $this->authorize('delete', $this->discussConversation); |
69 | 69 |
@@ -113,7 +113,7 @@ |
||
113 | 113 | $this->notifications = auth()->user()->notifications; |
114 | 114 | |
115 | 115 | // Filter only the unread notifications |
116 | - $unreadNotifications = $this->notifications->filter(function($notification) { |
|
116 | + $unreadNotifications = $this->notifications->filter(function ($notification) { |
|
117 | 117 | return $notification->read_at == null; |
118 | 118 | }); |
119 | 119 | $this->unreadNotificationsCount = $unreadNotifications->count(); |
@@ -69,7 +69,7 @@ |
||
69 | 69 | * |
70 | 70 | * @var Collection|array |
71 | 71 | */ |
72 | - public Collection|array $categoriesSearchable = []; |
|
72 | + public Collection | array $categoriesSearchable = []; |
|
73 | 73 | |
74 | 74 | /** |
75 | 75 | * Function to store the model. |