change PHPDoc
This commit is contained in:
@ -13,6 +13,10 @@ namespace Da\User\Contracts;
|
||||
|
||||
use yii\authclient\ClientInterface;
|
||||
|
||||
/**
|
||||
* @property-read string $email
|
||||
* @property-read string $username
|
||||
*/
|
||||
interface AuthClientInterface extends ClientInterface
|
||||
{
|
||||
/**
|
||||
|
||||
@ -15,10 +15,7 @@ use yii\base\Event;
|
||||
use yii\base\Model;
|
||||
|
||||
/**
|
||||
* Class FormEvent
|
||||
* @package Da\User\Event
|
||||
*
|
||||
* @property Model $form
|
||||
* @property-read Model $form
|
||||
*/
|
||||
class FormEvent extends Event
|
||||
{
|
||||
|
||||
@ -15,10 +15,7 @@ use Da\User\Model\User;
|
||||
use yii\base\Event;
|
||||
|
||||
/**
|
||||
* Class GdprEvent
|
||||
* @package Da\User\Event
|
||||
*
|
||||
* @property User $user
|
||||
* @property-read User $user
|
||||
*/
|
||||
class GdprEvent extends Event
|
||||
{
|
||||
|
||||
@ -16,13 +16,10 @@ use Da\User\Service\MailService;
|
||||
use yii\base\Event;
|
||||
|
||||
/**
|
||||
* Class MailEvent
|
||||
* @package Da\User\Event
|
||||
*
|
||||
* @property string $type
|
||||
* @property User $user
|
||||
* @property MailService $mailService
|
||||
* @property mixed|\Exception $exception
|
||||
* @property-read string $type
|
||||
* @property-read User $user
|
||||
* @property-read MailService $mailService
|
||||
* @property-read mixed|\Exception $exception
|
||||
*/
|
||||
class MailEvent extends Event
|
||||
{
|
||||
|
||||
@ -15,10 +15,7 @@ use Da\User\Model\Profile;
|
||||
use yii\base\Event;
|
||||
|
||||
/**
|
||||
* Class ProfileEvent
|
||||
* @package Da\User\Event
|
||||
*
|
||||
* @property Profile $profile
|
||||
* @property-read Profile $profile
|
||||
*/
|
||||
class ProfileEvent extends Event
|
||||
{
|
||||
|
||||
@ -16,11 +16,8 @@ use Da\User\Model\Token;
|
||||
use yii\base\Event;
|
||||
|
||||
/**
|
||||
* Class ResetPasswordEvent
|
||||
* @package Da\User\Event
|
||||
*
|
||||
* @property Token $token
|
||||
* @property RecoveryForm $form
|
||||
* @property-read Token $token
|
||||
* @property-read RecoveryForm $form
|
||||
*/
|
||||
class ResetPasswordEvent extends Event
|
||||
{
|
||||
|
||||
@ -16,11 +16,8 @@ use yii\authclient\ClientInterface;
|
||||
use yii\base\Event;
|
||||
|
||||
/**
|
||||
* Class SocialNetworkAuthEvent
|
||||
* @package Da\User\Event
|
||||
*
|
||||
* @property SocialNetworkAccount $account
|
||||
* @property ClientInterface $client
|
||||
* @property-read SocialNetworkAccount $account
|
||||
* @property-read ClientInterface $client
|
||||
*/
|
||||
class SocialNetworkAuthEvent extends Event
|
||||
{
|
||||
|
||||
@ -16,11 +16,8 @@ use Da\User\Model\User;
|
||||
use yii\base\Event;
|
||||
|
||||
/**
|
||||
* Class SocialNetworkConnectEvent
|
||||
* @package Da\User\Event
|
||||
*
|
||||
* @property User $user
|
||||
* @property SocialNetworkAccount $account
|
||||
* @property-read User $user
|
||||
* @property-read SocialNetworkAccount $account
|
||||
*/
|
||||
class SocialNetworkConnectEvent extends Event
|
||||
{
|
||||
|
||||
@ -15,10 +15,7 @@ use Da\User\Model\User;
|
||||
use yii\base\Event;
|
||||
|
||||
/**
|
||||
* Class UserEvent
|
||||
* @package Da\User\Event
|
||||
*
|
||||
* @property User $user
|
||||
* @property-read User $user
|
||||
*/
|
||||
class UserEvent extends Event
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user