@@ -44,7 +44,7 @@ |
||
| 44 | 44 | ]); |
| 45 | 45 | } |
| 46 | 46 | |
| 47 | - public function render(): Factory|Application|View|\Illuminate\View\View |
|
| 47 | + public function render(): Factory | Application | View | \Illuminate\View\View |
|
| 48 | 48 | { |
| 49 | 49 | return view('livewire.discuss.update-conversation'); |
| 50 | 50 | } |
@@ -61,7 +61,7 @@ |
||
| 61 | 61 | ->success('Your reply has been posted successfully !'); |
| 62 | 62 | } |
| 63 | 63 | |
| 64 | - public function render(): Factory|Application|View|\Illuminate\View\View |
|
| 64 | + public function render(): Factory | Application | View | \Illuminate\View\View |
|
| 65 | 65 | { |
| 66 | 66 | return view('livewire.discuss.create-post'); |
| 67 | 67 | } |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | */ |
| 38 | 38 | public bool $showModal = false; |
| 39 | 39 | |
| 40 | - public function render(): Factory|Application|View|\Illuminate\View\View |
|
| 40 | + public function render(): Factory | Application | View | \Illuminate\View\View |
|
| 41 | 41 | { |
| 42 | 42 | return view('livewire.discuss.delete-post'); |
| 43 | 43 | } |
@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | * |
| 67 | 67 | * @throws Throwable |
| 68 | 68 | */ |
| 69 | - public function delete(): RedirectResponse|Redirector|null |
|
| 69 | + public function delete(): RedirectResponse | Redirector | null |
|
| 70 | 70 | { |
| 71 | 71 | $this->authorize('delete', $this->discussPost); |
| 72 | 72 | |
@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | $this->discussConversation = $discussConversation; |
| 42 | 42 | } |
| 43 | 43 | |
| 44 | - public function render(): Factory|Application|View|\Illuminate\View\View |
|
| 44 | + public function render(): Factory | Application | View | \Illuminate\View\View |
|
| 45 | 45 | { |
| 46 | 46 | return view('livewire.discuss.delete-conversation'); |
| 47 | 47 | } |
@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | * |
| 67 | 67 | * @throws Throwable |
| 68 | 68 | */ |
| 69 | - public function delete(): Redirector|RedirectResponse|null |
|
| 69 | + public function delete(): Redirector | RedirectResponse | null |
|
| 70 | 70 | { |
| 71 | 71 | $this->authorize('delete', $this->discussConversation); |
| 72 | 72 | |
@@ -32,7 +32,7 @@ |
||
| 32 | 32 | $this->form->load(); |
| 33 | 33 | } |
| 34 | 34 | |
| 35 | - public function render(): Factory|Application|View|\Illuminate\View\View |
|
| 35 | + public function render(): Factory | Application | View | \Illuminate\View\View |
|
| 36 | 36 | { |
| 37 | 37 | return view('livewire.user.update-account'); |
| 38 | 38 | } |
@@ -61,7 +61,7 @@ |
||
| 61 | 61 | $this->fetchData(); |
| 62 | 62 | } |
| 63 | 63 | |
| 64 | - public function render(): Factory|Application|View|\Illuminate\View\View |
|
| 64 | + public function render(): Factory | Application | View | \Illuminate\View\View |
|
| 65 | 65 | { |
| 66 | 66 | return view('livewire.user.notification'); |
| 67 | 67 | } |
@@ -36,7 +36,7 @@ |
||
| 36 | 36 | */ |
| 37 | 37 | public bool $showModal = false; |
| 38 | 38 | |
| 39 | - public function render(): Factory|Application|View|\Illuminate\View\View |
|
| 39 | + public function render(): Factory | Application | View | \Illuminate\View\View |
|
| 40 | 40 | { |
| 41 | 41 | return view('livewire.admin.blog.update-article'); |
| 42 | 42 | } |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | */ |
| 18 | 18 | public function download(string $fileName) |
| 19 | 19 | { |
| 20 | - $filePath = public_path('files/'.$fileName); |
|
| 20 | + $filePath = public_path('files/' . $fileName); |
|
| 21 | 21 | |
| 22 | 22 | if (!file_exists($filePath)) { |
| 23 | 23 | abort(404, 'File not found.'); |
@@ -93,8 +93,8 @@ |
||
| 93 | 93 | Mail::to(config('xetaravel.site.contact_email'))->send(new Contact($details)); |
| 94 | 94 | |
| 95 | 95 | return redirect() |
| 96 | - ->route('page.contact') |
|
| 97 | - ->success('Thanks for contacting me ! I will answer you as fast as I can !'); |
|
| 96 | + ->route('page.contact') |
|
| 97 | + ->success('Thanks for contacting me ! I will answer you as fast as I can !'); |
|
| 98 | 98 | } |
| 99 | 99 | |
| 100 | 100 | /** |