fix formatting

This commit is contained in:
Antonio Ramirez
2016-12-14 02:50:12 +01:00
parent f3f4b31bb4
commit 3ba01b4674
140 changed files with 512 additions and 523 deletions

View File

@ -1,4 +1,5 @@
<?php
namespace Da\User\Event;
use yii\base\Event;
@ -26,4 +27,3 @@ class FormEvent extends Event
return $this->form;
}
}

View File

@ -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);

View File

@ -1,6 +1,6 @@
<?php
namespace Da\User\Event;
namespace Da\User\Event;
use Da\User\Form\RecoveryForm;
use Da\User\Model\Token;

View File

@ -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';

View File

@ -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';

View File

@ -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 = [])