Passed
Push — 5.0.0 ( db287f...580cb8 )
by Fèvre
06:14
created
app/Observers/DiscussPostObserver.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,8 +12,8 @@
 block discarded – undo
12 12
 class DiscussPostObserver
13 13
 {
14 14
     /**
15
- * Handle the "creating" event.
16
- */
15
+     * Handle the "creating" event.
16
+     */
17 17
     public function creating(DiscussPost $discussPost): void
18 18
     {
19 19
         $discussPost->user_id = Auth::id();
Please login to merge, or discard this patch.
app/Livewire/Discuss/DeletePost.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
      *
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
 
Please login to merge, or discard this patch.
app/Livewire/Discuss/DeleteConversation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
app/Livewire/Forms/DiscussConversationForm.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
      *
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.
Please login to merge, or discard this patch.
app/View/Components/File.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
     /**
56 56
      * Get the view / contents that represent the component.
57 57
      */
58
-    public function render(): View|Closure|string
58
+    public function render(): View | Closure | string
59 59
     {
60 60
         return view('components.file');
61 61
     }
Please login to merge, or discard this patch.
app/Livewire/Forms/BlogArticleForm.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
      *
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.
Please login to merge, or discard this patch.
app/Livewire/Admin/Blog/Article.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
         'created_at'
82 82
     ];
83 83
 
84
-    public function render(): View|Application|Factory|\Illuminate\View\View
84
+    public function render(): View | Application | Factory | \Illuminate\View\View
85 85
     {
86 86
         return view('livewire.admin.blog.article', [
87 87
             'articles' => $this->rows
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
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
      *
22 22
      * @return Response|RedirectResponse
23 23
      */
24
-    public function handle(Request $request, Closure $next): Response|RedirectResponse
24
+    public function handle(Request $request, Closure $next): Response | RedirectResponse
25 25
     {
26 26
         BlogArticle::addGlobalScope(new PublishedScope());
27 27
 
Please login to merge, or discard this patch.
app/Http/Controllers/DownloadsController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
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
         return response()->download($filePath);
23 23
     }
Please login to merge, or discard this patch.