Close #269 added help for console commands + php-cs-fixer
This commit is contained in:
@ -14,8 +14,8 @@ namespace Da\User\Model;
|
||||
use Da\User\Traits\AuthManagerAwareTrait;
|
||||
use Da\User\Validator\RbacRuleNameValidator;
|
||||
use Da\User\Validator\RbacRuleValidator;
|
||||
use yii\base\Model;
|
||||
use Yii;
|
||||
use yii\base\Model;
|
||||
|
||||
class Rule extends Model
|
||||
{
|
||||
|
||||
@ -75,7 +75,7 @@ class SocialNetworkAccount extends ActiveRecord
|
||||
/**
|
||||
* @throws Exception
|
||||
* @throws InvalidParamException
|
||||
* @return string the connection url
|
||||
* @return string the connection url
|
||||
*/
|
||||
public function getConnectionUrl()
|
||||
{
|
||||
|
||||
@ -101,7 +101,7 @@ class Token extends ActiveRecord
|
||||
|
||||
/**
|
||||
* @throws RuntimeException
|
||||
* @return bool Whether token has expired
|
||||
* @return bool Whether token has expired
|
||||
*/
|
||||
public function getIsExpired()
|
||||
{
|
||||
|
||||
@ -286,7 +286,7 @@ class User extends ActiveRecord implements IdentityInterface
|
||||
|
||||
/**
|
||||
* @throws InvalidConfigException
|
||||
* @return bool whether the user is an admin or not
|
||||
* @return bool whether the user is an admin or not
|
||||
*/
|
||||
public function getIsAdmin()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user