Skip to content

Commit

Permalink
Merge branch '2.1' into 2
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 18, 2023
2 parents cab0fd1 + 2ebc62f commit 55aeadf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 1 addition & 2 deletions src/Extensions/MemberExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@

/**
* Augment `Member` to allow relationship to the LoginSession DataObject
* @method LoginSession[]|DataList LoginSessions()
* @method Member getOwner()
* @method SilverStripe\ORM\HasManyList<LoginSession> LoginSessions()
*/
class MemberExtension extends DataExtension
{
Expand Down
3 changes: 3 additions & 0 deletions src/Extensions/RememberLoginHashExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
use SilverStripe\SessionManager\Models\LoginSession;
use SilverStripe\SessionManager\Security\LogInAuthenticationHandler;

/**
* @method LoginSession LoginSession()
*/
class RememberLoginHashExtension extends Extension
{
/**
Expand Down
1 change: 1 addition & 0 deletions src/Models/LoginSession.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
* @property string $UserAgent
* @property bool $Persistent
* @property integer $MemberID
* @method RememberLoginHash LoginHash()
* @method Member Member()
*/
class LoginSession extends DataObject
Expand Down

0 comments on commit 55aeadf

Please sign in to comment.