Skip to content

Commit

Permalink
API Replace Extension subclasses
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Aug 28, 2024
1 parent 4caaddb commit bbab034
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Extensions/ShareDraftContentSiteTreeExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use SilverStripe\Control\Controller;
use SilverStripe\Control\Director;
use SilverStripe\Core\Config\Config;
use SilverStripe\ORM\DataExtension;
use SilverStripe\Core\Extension;
use SilverStripe\ORM\HasManyList;
use SilverStripe\Security\RandomGenerator;
use SilverStripe\ShareDraftContent\Models\ShareToken;
Expand All @@ -16,9 +16,9 @@
* @property string $ShareTokenSalt
* @method HasManyList<ShareToken> ShareTokens()
*
* @extends DataExtension<SiteTree&static>
* @extends Extension<SiteTree&static>
*/
class ShareDraftContentSiteTreeExtension extends DataExtension
class ShareDraftContentSiteTreeExtension extends Extension
{
/**
* The number of days a shared link should be valid for, before expiring.
Expand Down

0 comments on commit bbab034

Please sign in to comment.