Passed
Push — master ( 567908...d5a2f9 )
by Fèvre
06:56
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/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/View/Components/DatePicker.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
             //'altInputClass' => ' ',
56 56
             'allowInput' => true,
57 57
             'time_24hr' => true,
58
-            'clickOpens' => ! $this->attributes->has('readonly') || $this->attributes->get('readonly') === false,
58
+            'clickOpens' => !$this->attributes->has('readonly') || $this->attributes->get('readonly') === false,
59 59
             'defaultDate' => '#model#',
60 60
             'plugins' => ['#plugins#'],
61 61
             'disable' => ['#disable#'],
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
     /**
107 107
      * Get the view / contents that represent the component.
108 108
      */
109
-    public function render(): View|Closure|string
109
+    public function render(): View | Closure | string
110 110
     {
111 111
         return view('components.date-picker');
112 112
     }
Please login to merge, or discard this patch.
app/Livewire/Admin/Blog/CreateArticle.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
             ->success('Your article has been created successfully !');
75 75
     }
76 76
 
77
-    public function render(): View|Application|Factory|\Illuminate\View\View
77
+    public function render(): View | Application | Factory | \Illuminate\View\View
78 78
     {
79 79
         return view('livewire.admin.blog.create-article');
80 80
     }
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
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
         $this->perPage = config('xetaravel.pagination.blog.article_per_page', $this->perPage);
87 87
     }
88 88
 
89
-    public function render(): View|Application|Factory|\Illuminate\View\View
89
+    public function render(): View | Application | Factory | \Illuminate\View\View
90 90
     {
91 91
         return view('livewire.admin.blog.article', [
92 92
             'articles' => $this->rows
Please login to merge, or discard this patch.
app/Livewire/Admin/Blog/CreateCategory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
             ->success('Your category has been created successfully !');
67 67
     }
68 68
 
69
-    public function render(): View|Application|Factory|\Illuminate\View\View
69
+    public function render(): View | Application | Factory | \Illuminate\View\View
70 70
     {
71 71
         return view('livewire.admin.blog.create-category');
72 72
     }
Please login to merge, or discard this patch.
app/Livewire/Admin/Blog/Category.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
         $this->perPage = config('xetaravel.pagination.blog.article_per_page', $this->perPage);
83 83
     }
84 84
 
85
-    public function render(): View|Application|Factory|\Illuminate\View\View
85
+    public function render(): View | Application | Factory | \Illuminate\View\View
86 86
     {
87 87
         return view('livewire.admin.blog.category', [
88 88
             'categories' => $this->rows
Please login to merge, or discard this patch.
app/Livewire/Admin/Blog/UpdateCategory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
      */
32 32
     public bool $showModal = false;
33 33
 
34
-    public function render(): View|Application|Factory|\Illuminate\View\View
34
+    public function render(): View | Application | Factory | \Illuminate\View\View
35 35
     {
36 36
         return view('livewire.admin.blog.update-category');
37 37
     }
Please login to merge, or discard this patch.