Skip to content

Commit

Permalink
Merge pull request silverstripe#156 from creative-commoners/pulls/6/r…
Browse files Browse the repository at this point in the history
…eplace-extension-subclasses

API Replace Extension subclasses
  • Loading branch information
GuySartorelli authored Aug 28, 2024
2 parents 9dfbf06 + 4629bda commit 8d26634
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/Extension/MemberExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

namespace SilverStripe\RealMe\Extension;

use SilverStripe\ORM\DataExtension;
use SilverStripe\Core\Extension;
use SilverStripe\Security\Member;

/**
* @extends DataExtension<Member>
* @extends Extension<Member>
*/
class MemberExtension extends DataExtension
class MemberExtension extends Extension
{
private static $db = array(
"RealmeSPNameID" => "Varchar(35)",
Expand Down
6 changes: 3 additions & 3 deletions src/Extension/SiteTreeExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
use SilverStripe\Security\InheritedPermissions;
use SilverStripe\Security\Member;
use SilverStripe\ORM\DataObject;
use SilverStripe\ORM\DataExtension;
use SilverStripe\Core\Extension;

/**
* @extends DataExtension<SiteTree>
* @extends Extension<SiteTree>
*/
class SiteTreeExtension extends DataExtension
class SiteTreeExtension extends Extension
{
private static $dependencies = array(
'service' => '%$' . RealMeService::class
Expand Down

0 comments on commit 8d26634

Please sign in to comment.