@@ -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.'); |
@@ -35,7 +35,7 @@ |
||
35 | 35 | */ |
36 | 36 | public bool $showModal = false; |
37 | 37 | |
38 | - public function render(): Factory|Application|View|\Illuminate\View\View |
|
38 | + public function render(): Factory | Application | View | \Illuminate\View\View |
|
39 | 39 | { |
40 | 40 | return view('livewire.discuss.create-conversation'); |
41 | 41 | } |
@@ -68,7 +68,7 @@ |
||
68 | 68 | ->success("The badge $badge->name has been created successfully !"); |
69 | 69 | } |
70 | 70 | |
71 | - public function render(): View|Application|Factory|\Illuminate\View\View |
|
71 | + public function render(): View | Application | Factory | \Illuminate\View\View |
|
72 | 72 | { |
73 | 73 | return view('livewire.admin.badge.create-badge'); |
74 | 74 | } |
@@ -77,7 +77,7 @@ |
||
77 | 77 | ->success("The badge $badge->name has been updated successfully !"); |
78 | 78 | } |
79 | 79 | |
80 | - public function render(): View|Application|Factory|\Illuminate\View\View |
|
80 | + public function render(): View | Application | Factory | \Illuminate\View\View |
|
81 | 81 | { |
82 | 82 | return view('livewire.admin.badge.update-badge'); |
83 | 83 | } |
@@ -80,7 +80,7 @@ |
||
80 | 80 | 'created_at' |
81 | 81 | ]; |
82 | 82 | |
83 | - public function render(): View|Application|Factory|\Illuminate\View\View |
|
83 | + public function render(): View | Application | Factory | \Illuminate\View\View |
|
84 | 84 | { |
85 | 85 | return view('livewire.admin.badge.badge', [ |
86 | 86 | 'badges' => $this->rows |