Passed
Push — master ( d2e9dc...6a4bb4 )
by Gunvor
02:09
created
src/Comments/ShowOneService.php 1 patch
Doc Comments   +9 added lines, -6 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     /**
22 22
      * Constructor injects with DI container and the id to update.
23 23
      *
24
-     * @param Anax\DI\DIInterface $di a service container
24
+     * @param DIInterface $di a service container
25 25
      * @param integer             $id to show
26 26
      */
27 27
     public function __construct(DIInterface $di, $id)
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      * Get details on item to load form with.
59 59
      *
60 60
      * @param string $where
61
-     * @param array $params get details on item with id parentid.
61
+     * @param integer[] $params get details on item with id parentid.
62 62
      *
63 63
      * @return Comm
64 64
      */
@@ -73,8 +73,8 @@  discard block
 block discarded – undo
73 73
     /**
74 74
      * Sets the callable to use for creating routes.
75 75
      *
76
-     * @param callable $urlCreate to create framework urls.
77 76
      *
77
+     * @param string $route
78 78
      * @return void
79 79
      */
80 80
     public function setUrlCreator($route)
@@ -101,7 +101,8 @@  discard block
 block discarded – undo
101 101
     /**
102 102
      * Returns json_decoded title and text
103 103
      * If lead text, headline is larger font
104
-     * @param object $item
104
+     * @param Comm $item
105
+     * @param boolean $lead
105 106
      * @return string htmlcode
106 107
      */
107 108
     public function getDecode(Comm $item, $lead = null)
@@ -123,7 +124,7 @@  discard block
 block discarded – undo
123 124
     /**
124 125
      * If param met, returns string with edit-links
125 126
      * @param boolean $isadmin
126
-     * @param object $item
127
+     * @param Comm $item
127 128
      * @param string $update
128 129
      * @param string $del
129 130
      * @return string htmlcode
@@ -167,6 +168,7 @@  discard block
 block discarded – undo
167 168
      * @param string $userid
168 169
      * @param string $update, link
169 170
      * @param string $htmlcomment, link
171
+     * @param string $htmlcomment
170 172
      *
171 173
      * @return string htmlcode
172 174
      */
@@ -185,6 +187,7 @@  discard block
 block discarded – undo
185 187
     /**
186 188
      * If session contains correct id, returns string with edit-links
187 189
      *
190
+     * @param boolean $isadmin
188 191
      * @return string htmlcode
189 192
      */
190 193
     public function getDelete($isadmin, $userid, $del, $commid)
@@ -199,7 +202,7 @@  discard block
 block discarded – undo
199 202
     /**
200 203
      * Returns html for each item
201 204
      *
202
-     * @param object $item
205
+     * @param Comm $item
203 206
      * @param string $can
204 207
      *
205 208
      * @return string htmlcod
Please login to merge, or discard this patch.