Passed
Push — master ( 567908...d5a2f9 )
by Fèvre
06:56
created
app/Livewire/Admin/Permission/CreateRole.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
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')
Please login to merge, or discard this patch.
app/Livewire/Forms/DiscussConversationForm.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,11 +70,11 @@
 block discarded – undo
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',
Please login to merge, or discard this patch.
app/Http/Middleware/EnablePublishedScopeMiddleware.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
app/Livewire/Discuss/UpdateConversation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
app/Livewire/Discuss/CreatePost.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
app/Livewire/Discuss/DeletePost.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
app/Livewire/Discuss/DeleteConversation.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
app/Livewire/User/UpdateAccount.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
app/Livewire/User/Notification.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.