Completed
Push — issue-37 ( b086ff...6f0072 )
by Fèvre
17:11
created
app/Markdown/Emoji/EmojiParser.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
     /**
43 43
      * Get the characters that must be matched.
44 44
      *
45
-     * @return array
45
+     * @return string[]
46 46
      */
47 47
     public function getCharacters()
48 48
     {
Please login to merge, or discard this patch.
app/Markdown/TaskLists/TaskListsParser.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
     /**
43 43
      * Get the characters that must be matched.
44 44
      *
45
-     * @return array
45
+     * @return string[]
46 46
      */
47 47
     public function getCharacters()
48 48
     {
Please login to merge, or discard this patch.
app/Models/Presenters/DiscussConversationPresenter.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
     /**
9 9
      * We must decrement the post count due to the first post being counted.
10 10
      *
11
-     * @param int $count The actual post count cache.
12 11
      *
13 12
      * @return int
14 13
      */
Please login to merge, or discard this patch.
app/Models/Repositories/CommentRepository.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
      * Create a new comment instance after a valid validation.
11 11
      *
12 12
      * @param array $data The data used to create the comment.
13
-     * @param \Xetaravel\Models\User $user The current user.
14 13
      *
15 14
      * @return \Xetaravel\Models\Comment
16 15
      */
Please login to merge, or discard this patch.
app/Policies/DiscussConversationPolicy.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/DiscussPostPolicy.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/ConversationController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,6 +115,6 @@
 block discarded – undo
115 115
      */
116 116
     protected function getCurrentPage(Request $request): int
117 117
     {
118
-        return !is_null($request->get('page')) ? (int)$request->get('page') : 1;
118
+        return !is_null($request->get('page')) ? (int) $request->get('page') : 1;
119 119
     }
120 120
 }
Please login to merge, or discard this patch.
app/Http/Controllers/Discuss/CategoryController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
 
41 41
         $breadcrumbs = $this->breadcrumbs->addCrumb(
42 42
             e($category->title),
43
-            route('discuss.category.show', ['slug' => $category->slug,'id' => $category->getKey()])
43
+            route('discuss.category.show', ['slug' => $category->slug, 'id' => $category->getKey()])
44 44
         );
45 45
 
46 46
         return view('Discuss::category.show', compact('breadcrumbs', 'conversations', 'category'));
Please login to merge, or discard this patch.
app/Markdown/Reply/ReplyParser.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@
 block discarded – undo
16 16
      * Parse a line and determine if it contains an emoji. If it does,
17 17
      * then we do the necessary.
18 18
      *
19
-     * @param \League\CommonMark\InlineParserContext $inlineContext
20 19
      *
21 20
      * @return bool
22 21
      */
Please login to merge, or discard this patch.