@@ -96,7 +96,6 @@ discard block |
||
96 | 96 | /** |
97 | 97 | * Find user by provider |
98 | 98 | * |
99 | - * @param string $token password reset token |
|
100 | 99 | * @return app\models\User|null |
101 | 100 | */ |
102 | 101 | private function findUserByProvider() |
@@ -246,7 +245,6 @@ discard block |
||
246 | 245 | /** |
247 | 246 | * Prepare profile attributes for twitter |
248 | 247 | * |
249 | - * @param array $data Data from social network |
|
250 | 248 | * @return array |
251 | 249 | */ |
252 | 250 | private function parseProfileTwitter($profile) |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace app\helpers; |
4 | 4 | |
5 | -use Yii; |
|
6 | 5 | use yii\helpers\Html; |
7 | 6 | |
8 | 7 | class Util |
@@ -18,6 +18,9 @@ |
||
18 | 18 | */ |
19 | 19 | private $user = null; |
20 | 20 | |
21 | + /** |
|
22 | + * @param User $user |
|
23 | + */ |
|
21 | 24 | public function __construct($user) |
22 | 25 | { |
23 | 26 | $this->user = $user; |