PHP-CS-Fixer run
This commit is contained in:
@ -12,8 +12,8 @@
|
||||
namespace Da\User\Query;
|
||||
|
||||
use Da\User\Traits\ModuleAwareTrait;
|
||||
use yii\web\Session;
|
||||
use Yii;
|
||||
use yii\web\Session;
|
||||
|
||||
class SessionHistoryCondition
|
||||
{
|
||||
|
||||
@ -12,8 +12,8 @@
|
||||
namespace Da\User\Query;
|
||||
|
||||
use Da\User\Traits\ModuleAwareTrait;
|
||||
use yii\db\ActiveQuery;
|
||||
use Yii;
|
||||
use yii\db\ActiveQuery;
|
||||
|
||||
class SessionHistoryQuery extends ActiveQuery
|
||||
{
|
||||
@ -34,7 +34,6 @@ class SessionHistoryQuery extends ActiveQuery
|
||||
return $this->andWhere($this->getCondition()->inactive($userId));
|
||||
}
|
||||
|
||||
|
||||
public function whereExpired($userId)
|
||||
{
|
||||
return $this->andWhere($this->getCondition()->expired($userId));
|
||||
|
||||
Reference in New Issue
Block a user