Completed
Push — discuss ( 472fcb...21bc4b )
by Fèvre
16:38
created
app/Policies/DiscussCommentPolicy.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
      * @param \Xetaravel\Models\User $user
16 16
      * @param string $ability
17 17
      *
18
-     * @return true|void
18
+     * @return boolean|null
19 19
      */
20 20
     public function before(User $user, string $ability)
21 21
     {
Please login to merge, or discard this patch.
app/Policies/DiscussThreadPolicy.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
      * @param \Xetaravel\Models\User $user
16 16
      * @param string $ability
17 17
      *
18
-     * @return true|void
18
+     * @return boolean|null
19 19
      */
20 20
     public function before(User $user, string $ability)
21 21
     {
Please login to merge, or discard this patch.
app/Http/Controllers/Discuss/ThreadController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,6 +90,6 @@
 block discarded – undo
90 90
      */
91 91
     protected function getCurrentPage(Request $request)
92 92
     {
93
-        return !is_null($request->get('page')) ? (int)$request->get('page') : 1;
93
+        return !is_null($request->get('page')) ? (int) $request->get('page') : 1;
94 94
     }
95 95
 }
Please login to merge, or discard this patch.