fix formatting
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
namespace Da\User\Event;
|
||||
|
||||
use yii\base\Event;
|
||||
@ -26,4 +27,3 @@ class FormEvent extends Event
|
||||
return $this->form;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -1,17 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace Da\User\Event;
|
||||
|
||||
use Da\User\Model\Profile;
|
||||
use yii\base\Event;
|
||||
|
||||
|
||||
class ProfileEvent extends Event
|
||||
{
|
||||
protected $profile;
|
||||
|
||||
public function __construct(Profile $profile, array $config = [])
|
||||
{
|
||||
|
||||
$this->profile = $profile;
|
||||
|
||||
return parent::__construct($config);
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
namespace Da\User\Event;
|
||||
|
||||
namespace Da\User\Event;
|
||||
|
||||
use Da\User\Form\RecoveryForm;
|
||||
use Da\User\Model\Token;
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace Da\User\Event;
|
||||
|
||||
use Da\User\Model\SocialNetworkAccount;
|
||||
use yii\authclient\ClientInterface;
|
||||
use yii\base\Event;
|
||||
|
||||
|
||||
class SocialNetworkAuthEvent extends Event
|
||||
{
|
||||
const EVENT_BEFORE_AUTHENTICATE = 'beforeAuthenticate';
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace Da\User\Event;
|
||||
|
||||
use Da\User\Model\SocialNetworkAccount;
|
||||
use Da\User\Model\User;
|
||||
use yii\base\Event;
|
||||
|
||||
|
||||
class SocialNetworkConnectEvent extends Event
|
||||
{
|
||||
const EVENT_BEFORE_CONNECT = 'beforeConnect';
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
namespace Da\User\Event;
|
||||
|
||||
use Da\User\Model\User;
|
||||
@ -25,7 +26,6 @@ class UserEvent extends Event
|
||||
const EVENT_BEFORE_LOGOUT = 'beforeLogout';
|
||||
const EVENT_AFTER_LOGOUT = 'afterLogout';
|
||||
|
||||
|
||||
protected $user;
|
||||
|
||||
public function __construct(User $user, array $config = [])
|
||||
|
||||
Reference in New Issue
Block a user