Close #269 added help for console commands + php-cs-fixer
This commit is contained in:
@ -4,7 +4,6 @@
|
||||
* This file is part of the 2amigos/yii2-usuario project.
|
||||
*
|
||||
* (c) 2amigOS! <http://2amigos.us/>
|
||||
* @author E. Alamo <erosdelalamo@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the LICENSE file that was distributed with this source code.
|
||||
@ -12,7 +11,6 @@
|
||||
|
||||
namespace Da\User\Form;
|
||||
|
||||
|
||||
use Da\User\Helper\SecurityHelper;
|
||||
use Da\User\Model\User;
|
||||
use Da\User\Traits\ContainerAwareTrait;
|
||||
@ -42,7 +40,7 @@ class GdprDeleteForm extends Model
|
||||
|
||||
/**
|
||||
* @param SecurityHelper $securityHelper
|
||||
* @param array $config
|
||||
* @param array $config
|
||||
*/
|
||||
public function __construct(SecurityHelper $securityHelper, $config = [])
|
||||
{
|
||||
|
||||
@ -142,7 +142,7 @@ class LoginForm extends Model
|
||||
* Validates form and logs the user in.
|
||||
*
|
||||
* @throws InvalidParamException
|
||||
* @return bool whether the user is logged in successfully
|
||||
* @return bool whether the user is logged in successfully
|
||||
*/
|
||||
public function login()
|
||||
{
|
||||
|
||||
@ -103,13 +103,17 @@ class RegistrationForm extends Model
|
||||
public function attributeHints()
|
||||
{
|
||||
return [
|
||||
'gdpr_consent' => Yii::t('usuario', 'I agree processing of my personal data and the use of cookies to facilitate the operation of this site. For more information read our {privacyPolicy}',
|
||||
'gdpr_consent' => Yii::t(
|
||||
'usuario',
|
||||
'I agree processing of my personal data and the use of cookies to facilitate the operation of this site. For more information read our {privacyPolicy}',
|
||||
[
|
||||
'privacyPolicy' => Html::a(Yii::t('usuario', 'privacy policy'),
|
||||
'privacyPolicy' => Html::a(
|
||||
Yii::t('usuario', 'privacy policy'),
|
||||
$this->module->gdprPrivacyPolicyUrl,
|
||||
['target' => '_blank']
|
||||
)
|
||||
])
|
||||
]
|
||||
)
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
@ -55,7 +55,7 @@ class SettingsForm extends Model
|
||||
* SettingsForm constructor.
|
||||
*
|
||||
* @param SecurityHelper $securityHelper
|
||||
* @param array $config
|
||||
* @param array $config
|
||||
*/
|
||||
public function __construct(SecurityHelper $securityHelper, array $config = [])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user