From 6b65345ce395c0072eb3741c75167b5141a024d4 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Thu, 14 Dec 2023 15:16:39 +1300 Subject: [PATCH] MNT Update @methods on class docblocks --- src/Extensions/ShareDraftContentSiteTreeExtension.php | 2 +- src/Models/ShareToken.php | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Extensions/ShareDraftContentSiteTreeExtension.php b/src/Extensions/ShareDraftContentSiteTreeExtension.php index 7784619..edfb30c 100644 --- a/src/Extensions/ShareDraftContentSiteTreeExtension.php +++ b/src/Extensions/ShareDraftContentSiteTreeExtension.php @@ -15,7 +15,7 @@ /** * @property SiteTree|ShareDraftContentSiteTreeExtension $owner * @property string $ShareTokenSalt - * @method HasManyList|ShareToken[] ShareTokens() + * @method HasManyList ShareTokens() */ class ShareDraftContentSiteTreeExtension extends DataExtension { diff --git a/src/Models/ShareToken.php b/src/Models/ShareToken.php index 4e79b02..dd3f518 100644 --- a/src/Models/ShareToken.php +++ b/src/Models/ShareToken.php @@ -7,11 +7,10 @@ use SilverStripe\ORM\FieldType\DBDatetime; /** - * @method Page Page() - * * @property int $ValidForDays * @property int $PageID * @property string $Token + * @method Page Page() */ class ShareToken extends DataObject {