fix formatting
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
namespace Da\User\Model;
|
||||
|
||||
use Da\User\Query\SocialNetworkAccountQuery;
|
||||
@ -10,8 +11,8 @@ use yii\helpers\Url;
|
||||
|
||||
/**
|
||||
* /**
|
||||
* @property integer $id Id
|
||||
* @property integer $user_id User id, null if account is not bind to user
|
||||
* @property int $id Id
|
||||
* @property int $user_id User id, null if account is not bind to user
|
||||
* @property string $provider Name of service
|
||||
* @property string $client_id Account id
|
||||
* @property string $data Account properties returned by social network (json encoded)
|
||||
@ -19,9 +20,8 @@ use yii\helpers\Url;
|
||||
* @property string $code
|
||||
* @property string $email
|
||||
* @property string $username
|
||||
* @property integer $created_at
|
||||
*
|
||||
* @property User $user User that this account is connected for.
|
||||
* @property int $created_at
|
||||
* @property User $user User that this account is connected for
|
||||
*/
|
||||
class SocialNetworkAccount extends ActiveRecord
|
||||
{
|
||||
@ -34,7 +34,7 @@ class SocialNetworkAccount extends ActiveRecord
|
||||
protected $decodedData;
|
||||
|
||||
/**
|
||||
* @inheritdoc
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public static function tableName()
|
||||
{
|
||||
@ -42,7 +42,7 @@ class SocialNetworkAccount extends ActiveRecord
|
||||
}
|
||||
|
||||
/**
|
||||
* @return bool Whether this social account is connected to user.
|
||||
* @return bool Whether this social account is connected to user
|
||||
*/
|
||||
public function getIsConnected()
|
||||
{
|
||||
@ -73,7 +73,7 @@ class SocialNetworkAccount extends ActiveRecord
|
||||
}
|
||||
|
||||
/**
|
||||
* Connects account to a user
|
||||
* Connects account to a user.
|
||||
*
|
||||
* @param User $user
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user