Completed
Push — master ( 07d2bf...a3496d )
by Jeremy
06:23
created
app/Http/Requests/ContactRequest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,8 +29,8 @@
 block discarded – undo
29 29
         $captchaRequiredPlug = '';
30 30
 
31 31
         if (config('blog.services.reCaptchStatus')) {
32
-            $captchaRequiredPlug = 'required';  // Rule
33
-            $this->captchaCheck();              // Check
32
+            $captchaRequiredPlug = 'required'; // Rule
33
+            $this->captchaCheck(); // Check
34 34
         }
35 35
 
36 36
         return [
Please login to merge, or discard this patch.
app/Services/PostProcesses.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
         $reverse_direction = (bool) $tag->reverse_direction;
84 84
 
85 85
         $posts = Post::where('published_at', '<=', Carbon::now())
86
-            ->whereHas('tags', function ($q) use ($tag) {
86
+            ->whereHas('tags', function($q) use ($tag) {
87 87
                 $q->where('tag', '=', $tag->tag);
88 88
             })
89 89
             ->where('is_draft', 0)
Please login to merge, or discard this patch.
app/Models/Post.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -230,7 +230,7 @@  discard block
 block discarded – undo
230 230
                             ->where('is_draft', 0)
231 231
                             ->orderBy('published_at', 'asc');
232 232
         if ($tag) {
233
-            $query = $query->whereHas('tags', function ($q) use ($tag) {
233
+            $query = $query->whereHas('tags', function($q) use ($tag) {
234 234
                 $q->where('tag', '=', $tag->tag);
235 235
             });
236 236
         }
@@ -251,7 +251,7 @@  discard block
 block discarded – undo
251 251
                             ->where('is_draft', 0)
252 252
                             ->orderBy('published_at', 'desc');
253 253
         if ($tag) {
254
-            $query = $query->whereHas('tags', function ($q) use ($tag) {
254
+            $query = $query->whereHas('tags', function($q) use ($tag) {
255 255
                 $q->where('tag', '=', $tag->tag);
256 256
             });
257 257
         }
Please login to merge, or discard this patch.