change PHPDoc

This commit is contained in:
bscheshirwork
2018-10-19 12:25:59 +03:00
parent 1deff4f605
commit b350039fa2
9 changed files with 18 additions and 38 deletions

View File

@ -13,6 +13,10 @@ namespace Da\User\Contracts;
use yii\authclient\ClientInterface;
/**
* @property-read string $email
* @property-read string $username
*/
interface AuthClientInterface extends ClientInterface
{
/**

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{