Passed
Push — master ( c28549...310450 )
by Nicklas
02:13
created
src/Comment/Modules/Vote.php 1 patch
Doc Comments   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
      * @param string $sql
32 32
      * @param array $params
33 33
      *
34
-     * @return object
34
+     * @return Vote
35 35
      */
36 36
     public function getVote($sql, $params)
37 37
     {
@@ -50,8 +50,8 @@  discard block
 block discarded – undo
50 50
 
51 51
     /**
52 52
      * Checks if vote already exists, then either create new or update
53
-     * @param array $params
54 53
      *
54
+     * @param string $user
55 55
      * @return bool
56 56
      */
57 57
     public function saveVote($user, $parentId, $parentType, $voteType = "like")
@@ -86,7 +86,6 @@  discard block
 block discarded – undo
86 86
     /**
87 87
      * Control if user has already liked or not
88 88
      * @param string $user
89
-     * @param array $params
90 89
      *
91 90
      * @return bool
92 91
      */
@@ -108,7 +107,6 @@  discard block
 block discarded – undo
108 107
     /**
109 108
      * Control if user has already liked or not
110 109
      * @param string $user
111
-     * @param array $params
112 110
      *
113 111
      * @return bool
114 112
      */
Please login to merge, or discard this patch.