Completed
Push — master ( 28f331...347733 )
by Phecho
03:40
created
app/Http/Controllers/Api/CommentController.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
      * @param \Symfony\Component\HttpFoundation\Request $request
33 33
      * @param \Illuminate\Contracts\Auth\Guard          $auth
34 34
      *
35
-     * @return \Illuminate\Http\JsonResponse
35
+     * @return \Illuminate\Http\Response
36 36
      */
37 37
     public function getComments(Request $request, Guard $auth)
38 38
     {
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
      *
47 47
      * @param \Gitamin\Models\Comment $comment
48 48
      *
49
-     * @return \Illuminate\Http\JsonResponse
49
+     * @return \Illuminate\Http\Response
50 50
      */
51 51
     public function getComment(Comment $comment)
52 52
     {
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      *
59 59
      * @param \Illuminate\Contracts\Auth\Guard $auth
60 60
      *
61
-     * @return \Illuminate\Http\JsonResponse
61
+     * @return \Illuminate\Http\Response
62 62
      */
63 63
     public function postComments(Guard $auth)
64 64
     {
@@ -80,9 +80,9 @@  discard block
 block discarded – undo
80 80
     /**
81 81
      * Update an existing comment.
82 82
      *
83
-     * @param \Gitamin\Models\Inicdent $comment
83
+     * @param Comment $comment
84 84
      *
85
-     * @return \Illuminate\Http\JsonResponse
85
+     * @return \Illuminate\Http\Response
86 86
      */
87 87
     public function putComment(Comment $comment)
88 88
     {
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
      *
104 104
      * @param \Gitamin\Models\Comment $comment
105 105
      *
106
-     * @return \Illuminate\Http\JsonResponse
106
+     * @return \Illuminate\Http\Response
107 107
      */
108 108
     public function deleteComment(Comment $comment)
109 109
     {
Please login to merge, or discard this patch.
app/Handlers/Commands/Comment/UpdateCommentCommandHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
             'team_id'     => $command->team_id,
55 55
         ];
56 56
 
57
-        return array_filter($params, function ($val) {
57
+        return array_filter($params, function($val) {
58 58
             return $val !== null;
59 59
         });
60 60
     }
Please login to merge, or discard this patch.