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 20, 2024
1 parent 5d7272b commit 24a60c2
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 24a60c2

Please sign in to comment.