mirror of
https://github.com/silverstripe/silverstripe-contentreview
synced 2024-10-22 17:05:47 +02:00
MNT Update @methods on class docblocks
This commit is contained in:
parent
d401365c23
commit
d57cf056cb
@ -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
|
||||
{
|
||||
|
@ -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
|
||||
{
|
||||
/**
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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
|
||||
{
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user