Completed
Push — master ( a177b4...0e64cc )
by Damian
02:23
created
code/Commenting.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@
 block discarded – undo
116 116
 	 * @param string $class
117 117
 	 * @param string $key
118 118
 	 * @param string $value Expected value
119
-	 * @return boolean
119
+	 * @return boolean|null
120 120
 	 */
121 121
 	public static function config_value_equals($class, $key, $value) {
122 122
 		$check = self::get_config_value($class, $key);
Please login to merge, or discard this patch.
code/controllers/CommentingController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@
 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
Please login to merge, or discard this patch.
code/model/Comment.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -316,7 +316,7 @@  discard block
 block discarded – undo
316 316
 	/**
317 317
 	 * Checks if the comment can be edited.
318 318
 	 *
319
-	 * @param null|int|Member $member
319
+	 * @param DataObject|null $member
320 320
 	 *
321 321
 	 * @return Boolean
322 322
 	 */
@@ -346,7 +346,7 @@  discard block
 block discarded – undo
346 346
 	/**
347 347
 	 * Checks if the comment can be deleted.
348 348
 	 *
349
-	 * @param null|int|Member $member
349
+	 * @param Member|null $member
350 350
 	 *
351 351
 	 * @return Boolean
352 352
 	 */
@@ -369,7 +369,7 @@  discard block
 block discarded – undo
369 369
 	 * Resolves Member object.
370 370
 	 *
371 371
 	 * @param Member|int|null $member
372
-	 * @return Member|null
372
+	 * @return DataObject|null
373 373
 	 */
374 374
 	protected function getMember($member = null) {
375 375
 		if(!$member) {
Please login to merge, or discard this patch.