@@ -69,7 +69,7 @@ |
||
69 | 69 | ->success("The role $role->name has been created successfully !"); |
70 | 70 | } |
71 | 71 | |
72 | - public function render(): View|Application|Factory|\Illuminate\View\View |
|
72 | + public function render(): View | Application | Factory | \Illuminate\View\View |
|
73 | 73 | { |
74 | 74 | // Select all permissions except `bypass login` which is handled by a checkbox. |
75 | 75 | $permissions = Permission::where('name', '<>', 'bypass login') |
@@ -70,11 +70,11 @@ |
||
70 | 70 | * |
71 | 71 | * @var Collection|array |
72 | 72 | */ |
73 | - public Collection|array $categoriesSearchable = []; |
|
73 | + public Collection | array $categoriesSearchable = []; |
|
74 | 74 | |
75 | 75 | protected function rules(): array |
76 | 76 | { |
77 | - $rules = [ |
|
77 | + $rules = [ |
|
78 | 78 | 'title' => 'required|min:5', |
79 | 79 | 'category_id' => [ |
80 | 80 | 'required', |
@@ -22,7 +22,7 @@ |
||
22 | 22 | * |
23 | 23 | * @return Response|RedirectResponse|BinaryFileResponse |
24 | 24 | */ |
25 | - public function handle(Request $request, Closure $next): Response|RedirectResponse|BinaryFileResponse |
|
25 | + public function handle(Request $request, Closure $next): Response | RedirectResponse | BinaryFileResponse |
|
26 | 26 | { |
27 | 27 | BlogArticle::addGlobalScope(new PublishedScope()); |
28 | 28 |
@@ -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 | } |