Completed
Push — master ( 187618...8c43e0 )
by Will
12s
created
src/Model/Comment.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -265,7 +265,7 @@  discard block
 block discarded – undo
265 265
      *
266 266
      * @param string $key
267 267
      *
268
-     * @return mixed Result if the setting is available, or null otherwise
268
+     * @return integer Result if the setting is available, or null otherwise
269 269
      */
270 270
     public function getOption($key)
271 271
     {
@@ -397,7 +397,7 @@  discard block
 block discarded – undo
397 397
     /**
398 398
      * Checks if the comment can be edited.
399 399
      *
400
-     * @param null|int|Member $member
400
+     * @param DataObject|null $member
401 401
      * @return Boolean
402 402
      */
403 403
     public function canEdit($member = null)
@@ -427,7 +427,7 @@  discard block
 block discarded – undo
427 427
     /**
428 428
      * Checks if the comment can be deleted.
429 429
      *
430
-     * @param null|int|Member $member
430
+     * @param Member|null $member
431 431
      * @return Boolean
432 432
      */
433 433
     public function canDelete($member = null)
@@ -450,7 +450,7 @@  discard block
 block discarded – undo
450 450
      * Resolves Member object.
451 451
      *
452 452
      * @param Member|int|null $member
453
-     * @return Member|null
453
+     * @return DataObject|null
454 454
      */
455 455
     protected function getMember($member = null)
456 456
     {
@@ -816,7 +816,7 @@  discard block
 block discarded – undo
816 816
     /**
817 817
      * Returns the list of replies, with spam and unmoderated items excluded, for use in the frontend
818 818
      *
819
-     * @return SS_List
819
+     * @return \SilverStripe\ORM\SS_List
820 820
      */
821 821
     public function Replies()
822 822
     {
@@ -867,7 +867,7 @@  discard block
 block discarded – undo
867 867
     /**
868 868
      * Generate a reply form for this comment
869 869
      *
870
-     * @return Form
870
+     * @return null|\SilverStripe\Comments\Controllers\Form
871 871
      */
872 872
     public function ReplyForm()
873 873
     {
Please login to merge, or discard this patch.