Skip to content

Commit

Permalink
FIX phpdoc for better symbols resolving
Browse files Browse the repository at this point in the history
  • Loading branch information
gurucomkz committed Oct 30, 2022
1 parent 4535fc9 commit dd501c1
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions src/Extension/AccountReset/MemberExtension.php
Expand Up @@ -15,9 +15,9 @@
* Provides DB columns / methods for account resets on Members
*
* @package SilverStripe\MFA\Extension
* @property Member&MemberExtension owner
* @property string AccountResetHash
* @property DBDatetime AccountResetExpired
* @property Member&MemberExtension $owner
* @property string $AccountResetHash
* @property DBDatetime $AccountResetExpired
*/
class MemberExtension extends DataExtension
{
Expand Down
2 changes: 1 addition & 1 deletion src/Extension/AccountReset/SecurityExtension.php
Expand Up @@ -26,7 +26,7 @@
* additional authentication factors, sending alerts, etc.)
*
* @package SilverStripe\MFA\Extension
* @property Security owner
* @property Security $owner
*/
class SecurityExtension extends Extension
{
Expand Down
10 changes: 5 additions & 5 deletions src/Extension/MemberExtension.php
Expand Up @@ -21,11 +21,11 @@
/**
* Extend Member to add relationship to registered methods and track some specific preferences
*
* @method RegisteredMethod[]|HasManyList RegisteredMFAMethods
* @property MethodInterface DefaultRegisteredMethod
* @property string DefaultRegisteredMethodID
* @property bool HasSkippedMFARegistration
* @property Member|MemberExtension owner
* @method RegisteredMethod[]|HasManyList RegisteredMFAMethods()
* @property MethodInterface $DefaultRegisteredMethod
* @property string $DefaultRegisteredMethodID
* @property bool $HasSkippedMFARegistration
* @property Member|MemberExtension $owner
*/
class MemberExtension extends DataExtension implements PermissionProvider
{
Expand Down
4 changes: 2 additions & 2 deletions src/Extension/SiteConfigExtension.php
Expand Up @@ -14,8 +14,8 @@
/**
* Adds multi-factor authentication related settings to the SiteConfig "Access" tab
*
* @property bool MFARequired
* @property string MFAGracePeriodExpires
* @property bool $MFARequired
* @property string $MFAGracePeriodExpires
*/
class SiteConfigExtension extends DataExtension
{
Expand Down
8 changes: 4 additions & 4 deletions src/Model/RegisteredMethod.php
Expand Up @@ -14,10 +14,10 @@
/**
* @package SilverStripe\MFA\Model
*
* @property int ID
* @property string MethodClassName
* @property string Data
* @method Member Member
* @property int $ID
* @property string $MethodClassName
* @property string $Data
* @method Member Member()
*/
class RegisteredMethod extends DataObject
{
Expand Down

0 comments on commit dd501c1

Please sign in to comment.