Completed
Push — master ( 4d2acf...6494fd )
by Nicklas
02:04
created
src/Comment/HTMLForm/Comment/EditCommentForm.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
     /**
16 16
      * Constructor injects with DI container and the id to update.
17 17
      *
18
-     * @param Anax\DI\DIInterface $di a service container
18
+     * @param DIInterface $di a service container
19 19
      * @param integer             $id to update
20 20
      */
21 21
     public function __construct(DIInterface $di, $id)
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
      *
62 62
      * @param integer $id get details on item with id.
63 63
      *
64
-     * @return object true if okey, false if something went wrong.
64
+     * @return Comment true if okey, false if something went wrong.
65 65
      */
66 66
     public function getCommentDetails($id)
67 67
     {
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
      * get details for the user based on sessio
77 77
      *
78 78
      *
79
-     * @return object the user
79
+     * @return boolean the user
80 80
      */
81 81
     public function controlAuthority()
82 82
     {
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
      * Callback for submit-button which should return true if it could
98 98
      * carry out its work and false if something failed.
99 99
      *
100
-     * @return void
100
+     * @return false|null
101 101
      */
102 102
     public function callbackDelete()
103 103
     {
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
      * Callback for submit-button which should return true if it could
118 118
      * carry out its work and false if something failed.
119 119
      *
120
-     * @return void
120
+     * @return false|null
121 121
      */
122 122
     public function callbackSubmit()
123 123
     {
Please login to merge, or discard this patch.
src/Comment/Modules/Comment.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
     /**
51 51
      * Returns post with markdown and gravatar
52 52
      * @param string $sql
53
-     * @param array $param
53
+     * @param array $params
54 54
      *
55 55
      * @return array
56 56
      */
@@ -73,6 +73,7 @@  discard block
 block discarded – undo
73 73
     /**
74 74
      * return question/answer, three attributes are set, comments connected to them is an array.
75 75
      *
76
+     * @param integer $id
76 77
      * @return object
77 78
     */
78 79
     public function getPost($id)
Please login to merge, or discard this patch.