Skip to content

Commit

Permalink
Merge pull request #218 from creative-commoners/pulls/3.1/docblock
Browse files Browse the repository at this point in the history
MNT Update @methods on class docblocks
  • Loading branch information
GuySartorelli authored Dec 14, 2023
2 parents 0462749 + 6b65345 commit dca7b88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Extensions/ShareDraftContentSiteTreeExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* @property SiteTree|ShareDraftContentSiteTreeExtension $owner
* @property string $ShareTokenSalt
* @method HasManyList|ShareToken[] ShareTokens()
* @method HasManyList<ShareToken> ShareTokens()
*/
class ShareDraftContentSiteTreeExtension extends DataExtension
{
Expand Down
3 changes: 1 addition & 2 deletions src/Models/ShareToken.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit dca7b88

Please sign in to comment.