Completed
Push — master ( 9dab44...8bd79e )
by Robbie
02:00
created
src/Model/Comment.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -236,7 +236,7 @@  discard block
 block discarded – undo
236 236
      *
237 237
      * @param string $key
238 238
      *
239
-     * @return mixed Result if the setting is available, or null otherwise
239
+     * @return integer Result if the setting is available, or null otherwise
240 240
      */
241 241
     public function getOption($key)
242 242
     {
@@ -368,7 +368,7 @@  discard block
 block discarded – undo
368 368
     /**
369 369
      * Checks if the comment can be edited.
370 370
      *
371
-     * @param null|int|Member $member
371
+     * @param DataObject|null $member
372 372
      * @return Boolean
373 373
      */
374 374
     public function canEdit($member = null)
@@ -398,7 +398,7 @@  discard block
 block discarded – undo
398 398
     /**
399 399
      * Checks if the comment can be deleted.
400 400
      *
401
-     * @param null|int|Member $member
401
+     * @param Member|null $member
402 402
      * @return Boolean
403 403
      */
404 404
     public function canDelete($member = null)
@@ -421,7 +421,7 @@  discard block
 block discarded – undo
421 421
      * Resolves Member object.
422 422
      *
423 423
      * @param Member|int|null $member
424
-     * @return Member|null
424
+     * @return DataObject|null
425 425
      */
426 426
     protected function getMember($member = null)
427 427
     {
@@ -842,7 +842,7 @@  discard block
 block discarded – undo
842 842
     /**
843 843
      * Generate a reply form for this comment
844 844
      *
845
-     * @return Form
845
+     * @return null|\SilverStripe\Comments\Controllers\Form
846 846
      */
847 847
     public function ReplyForm()
848 848
     {
Please login to merge, or discard this patch.