Completed
Push — master ( 7721c2...b1bf62 )
by Damian
01:53
created
code/controllers/CommentingController.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
 	 * Get the commenting option for the current state
121 121
 	 *
122 122
 	 * @param string $key
123
-	 * @return mixed Result if the setting is available, or null otherwise
123
+	 * @return integer Result if the setting is available, or null otherwise
124 124
 	 */
125 125
 	public function getOption($key) {
126 126
 		// If possible use the current record
@@ -280,6 +280,7 @@  discard block
 block discarded – undo
280 280
      * Redirect back to referer if available, ensuring that only site URLs
281 281
      * are allowed to avoid phishing.  If it's an AJAX request render the
282 282
      * comment in it's new state
283
+     * @param DataObject $comment
283 284
      */
284 285
     private function renderChangedCommentState($comment) {
285 286
         $referer = $this->request->getHeader('Referer');
Please login to merge, or discard this patch.