minor cleanups
This commit is contained in:
@ -3,8 +3,9 @@
|
||||
namespace Da\User\AuthClient;
|
||||
|
||||
use Da\User\Contracts\AuthClientInterface;
|
||||
use yii\authclient\clients\Facebook as BaseFacebook;
|
||||
|
||||
class Facebook extends \yii\authclient\clients\Facebook implements AuthClientInterface
|
||||
class Facebook extends BaseFacebook implements AuthClientInterface
|
||||
{
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
@ -21,6 +22,6 @@ class Facebook extends \yii\authclient\clients\Facebook implements AuthClientInt
|
||||
*/
|
||||
public function getUsername()
|
||||
{
|
||||
return;
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@ -3,8 +3,9 @@
|
||||
namespace Da\User\AuthClient;
|
||||
|
||||
use Da\User\Contracts\AuthClientInterface;
|
||||
use yii\authclient\clients\GitHub as BaseGitHub;
|
||||
|
||||
class GitHub extends \yii\authclient\clients\GitHub implements AuthClientInterface
|
||||
class GitHub extends BaseGitHub implements AuthClientInterface
|
||||
{
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
|
||||
@ -3,8 +3,9 @@
|
||||
namespace Da\User\AuthClient;
|
||||
|
||||
use Da\User\Contracts\AuthClientInterface;
|
||||
use yii\authclient\clients\Google as BaseGoogle;
|
||||
|
||||
class Google extends \yii\authclient\clients\Google implements AuthClientInterface
|
||||
class Google extends BaseGoogle implements AuthClientInterface
|
||||
{
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
@ -21,6 +22,6 @@ class Google extends \yii\authclient\clients\Google implements AuthClientInterfa
|
||||
*/
|
||||
public function getUsername()
|
||||
{
|
||||
return;
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@ -3,8 +3,9 @@
|
||||
namespace Da\User\AuthClient;
|
||||
|
||||
use Da\User\Contracts\AuthClientInterface;
|
||||
use yii\authclient\clients\LinkedIn as BaseLinkedIn;
|
||||
|
||||
class LinkedIn extends \yii\authclient\clients\LinkedIn implements AuthClientInterface
|
||||
class LinkedIn extends BaseLinkedIn implements AuthClientInterface
|
||||
{
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
@ -21,6 +22,6 @@ class LinkedIn extends \yii\authclient\clients\LinkedIn implements AuthClientInt
|
||||
*/
|
||||
public function getUsername()
|
||||
{
|
||||
return;
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@ -3,8 +3,9 @@
|
||||
namespace Da\User\AuthClient;
|
||||
|
||||
use Da\User\Contracts\AuthClientInterface;
|
||||
use yii\authclient\clients\Twitter as BaseTwitter;
|
||||
|
||||
class Twitter extends \yii\authclient\clients\Twitter implements AuthClientInterface
|
||||
class Twitter extends BaseTwitter implements AuthClientInterface
|
||||
{
|
||||
/**
|
||||
* @return string
|
||||
|
||||
@ -4,8 +4,9 @@ namespace Da\User\AuthClient;
|
||||
|
||||
use Da\User\Contracts\AuthClientInterface;
|
||||
use Yii;
|
||||
use yii\authclient\clients\VKontakte as BaseVKontakte;
|
||||
|
||||
class VKontakte extends \yii\authclient\clients\VKontakte implements AuthClientInterface
|
||||
class VKontakte extends BaseVKontakte implements AuthClientInterface
|
||||
{
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
|
||||
@ -4,8 +4,9 @@ namespace Da\User\AuthClient;
|
||||
|
||||
use Da\User\Contracts\AuthClientInterface;
|
||||
use Yii;
|
||||
use yii\authclient\clients\Yandex as BaseYandex;
|
||||
|
||||
class Yandex extends \yii\authclient\clients\Yandex implements AuthClientInterface
|
||||
class Yandex extends BaseYandex implements AuthClientInterface
|
||||
{
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
|
||||
Reference in New Issue
Block a user