Completed
Pull Request — master (#512)
by
unknown
01:45
created
src/Model/BlogPost.php 1 patch
Doc Comments   +7 added lines, -4 removed lines patch added patch discarded remove patch
@@ -381,7 +381,7 @@  discard block
 block discarded – undo
381 381
     /**
382 382
      * @param null|int|Member $member
383 383
      *
384
-     * @return null|Member
384
+     * @return \SilverStripe\ORM\DataObject|null
385 385
      */
386 386
     protected function getMember($member = null)
387 387
     {
@@ -401,7 +401,7 @@  discard block
 block discarded – undo
401 401
      *
402 402
      * @param null|int|Member $member
403 403
      *
404
-     * @return bool
404
+     * @return boolean|string
405 405
      */
406 406
     public function canCreateCategories($member = null)
407 407
     {
@@ -425,7 +425,7 @@  discard block
 block discarded – undo
425 425
      *
426 426
      * @param null|int|Member $member
427 427
      *
428
-     * @return bool
428
+     * @return boolean|string
429 429
      */
430 430
     public function canCreateTags($member = null)
431 431
     {
@@ -525,6 +525,8 @@  discard block
 block discarded – undo
525 525
 
526 526
     /**
527 527
      * {@inheritdoc}
528
+     * @param Member $member
529
+     * @return boolean
528 530
      */
529 531
     public function canPublish($member = null)
530 532
     {
@@ -561,6 +563,7 @@  discard block
 block discarded – undo
561 563
 
562 564
     /**
563 565
      * {@inheritdoc}
566
+     * @param \SilverStripe\ORM\DataObject $member
564 567
      */
565 568
     public function canEdit($member = null)
566 569
     {
@@ -760,7 +763,7 @@  discard block
 block discarded – undo
760 763
      * Provides a rough estimate of how long this post will take to read based on wikipedias answer to "How fast can a
761 764
      * human read" of 200wpm. Source https://en.wikipedia.org/wiki/Speed_reading
762 765
      *
763
-     * @return string
766
+     * @return double
764 767
      */
765 768
     public function getMinutesToRead()
766 769
     {
Please login to merge, or discard this patch.