Merge pull request #217 from creative-commoners/pulls/5.1/docblock

MNT Update @methods on class docblocks
This commit is contained in:
Guy Sartorelli 2023-12-15 12:45:21 +13:00 committed by GitHub
commit 84edeab427
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 3 deletions

View File

@ -20,6 +20,8 @@ use SilverStripe\Security\Permission;
* review setting.
*
* @property int $ReviewPeriodDays
* @method SilverStripe\ORM\ManyManyList<Group> ContentReviewGroups()
* @method SilverStripe\ORM\ManyManyList<Member> ContentReviewUsers()
*/
class ContentReviewDefaultSettings extends DataExtension
{

View File

@ -6,6 +6,9 @@ use SilverStripe\CMS\Model\SiteTree;
use SilverStripe\Forms\FieldList;
use SilverStripe\ORM\DataExtension;
/**
* @method SilverStripe\ORM\ManyManyList<SiteTree> SiteTreeContentReview()
*/
class ContentReviewOwner extends DataExtension
{
/**

View File

@ -50,9 +50,9 @@ use Symbiote\QueuedJobs\Services\QueuedJobService;
* @property string $LastEditedByName
* @property string $OwnerNames
*
* @method DataList ReviewLogs()
* @method DataList ContentReviewGroups()
* @method DataList ContentReviewUsers()
* @method SilverStripe\ORM\ManyManyList<Group> ContentReviewGroups()
* @method SilverStripe\ORM\ManyManyList<Member> ContentReviewUsers()
* @method SilverStripe\ORM\HasManyList<ContentReviewLog> ReviewLogs()
*/
class SiteTreeContentReview extends DataExtension implements PermissionProvider
{

View File

@ -7,6 +7,10 @@ use SilverStripe\ORM\DataObject;
use SilverStripe\Security\Member;
use SilverStripe\Security\Security;
/**
* @method Member Reviewer()
* @method SiteTree SiteTree()
*/
class ContentReviewLog extends DataObject
{
/**