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 f700b34 commit ad11048
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/Extension/Engine/SiteTreePublishingEngine.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
namespace SilverStripe\StaticPublishQueue\Extension\Engine;

use SilverStripe\CMS\Model\SiteTree;
use SilverStripe\CMS\Model\SiteTreeExtension;
use SilverStripe\Core\Environment;
use SilverStripe\Core\Extension;
use SilverStripe\Core\Injector\Injector;
use SilverStripe\Core\Resettable;
use SilverStripe\Dev\Deprecation;
Expand All @@ -26,9 +26,9 @@
*
* @see PublishableSiteTree
*
* @extends DataExtension<SiteTree>
* @extends Extension<SiteTree>
*/
class SiteTreePublishingEngine extends SiteTreeExtension implements Resettable
class SiteTreePublishingEngine extends Extension implements Resettable
{
public const ACTION_PUBLISH = 'publish';
public const ACTION_UNPUBLISH = 'unpublish';
Expand Down
6 changes: 3 additions & 3 deletions src/Extension/Publishable/PublishableSiteTree.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use SilverStripe\CMS\Model\SiteTree;
use SilverStripe\CMS\Model\VirtualPage;
use SilverStripe\Control\Director;
use SilverStripe\ORM\DataExtension;
use SilverStripe\Core\Extension;
use SilverStripe\ORM\SS_List;
use SilverStripe\StaticPublishQueue\Contract\StaticallyPublishable;
use SilverStripe\StaticPublishQueue\Contract\StaticPublishingTrigger;
Expand All @@ -20,9 +20,9 @@
*
* @see SiteTreePublishingEngine
*
* @extends DataExtension<SiteTree>
* @extends Extension<SiteTree>
*/
class PublishableSiteTree extends DataExtension implements StaticallyPublishable, StaticPublishingTrigger
class PublishableSiteTree extends Extension implements StaticallyPublishable, StaticPublishingTrigger
{
public const REGENERATE_RELATIONS_NONE = 'none';
public const REGENERATE_RELATIONS_DIRECT = 'direct';
Expand Down

0 comments on commit ad11048

Please sign in to comment.