Completed
Push — master ( b61081...bf01ff )
by Pavel
04:03
created
models/forms/LoginForm.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace inblank\activeuser\models\forms;
4 4
 
5 5
 use inblank\activeuser\traits\CommonTrait;
6
-use yii;
7 6
 use yii\base\Model;
8 7
 use yii\base\Security;
9 8
 
Please login to merge, or discard this patch.
models/User.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
     /**
82 82
      * Finds an identity by the given ID.
83 83
      * @param string|integer $id the ID to be looked for
84
-     * @return IdentityInterface the identity object that matches the given ID.
84
+     * @return User|null the identity object that matches the given ID.
85 85
      * Null should be returned if such an identity cannot be found
86 86
      * or the identity is not in an active state (disabled, deleted, etc.)
87 87
      */
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
      * @param mixed $token the token to be looked for
106 106
      * @param mixed $type the type of the token. The value of this parameter depends on the implementation.
107 107
      * For example, [[\yii\filters\auth\HttpBearerAuth]] will set this parameter to be `yii\filters\auth\HttpBearerAuth`.
108
-     * @return IdentityInterface the identity object that matches the given token.
108
+     * @return null|User the identity object that matches the given token.
109 109
      * Null should be returned if such an identity cannot be found
110 110
      * or the identity is not in an active state (disabled, deleted, etc.)
111 111
      */
Please login to merge, or discard this patch.
tests/codeception/_support/_generated/FunctionalTesterActions.php 1 patch
Doc Comments   +7 added lines, -5 removed lines patch added patch discarded remove patch
@@ -117,7 +117,8 @@  discard block
 block discarded – undo
117 117
      * $user = $I->grabFixture('users', 'user1');
118 118
      * ```
119 119
      *
120
-     * @param $name
120
+     * @param string $name
121
+     * @param string $index
121 122
      * @return mixed
122 123
      * @throws ModuleException if a fixture is not found
123 124
      * @part fixtures
@@ -177,7 +178,7 @@  discard block
 block discarded – undo
177 178
      * $I->seeRecord('app\models\User', array('name' => 'davert'));
178 179
      * ```
179 180
      *
180
-     * @param $model
181
+     * @param string $model
181 182
      * @param array $attributes
182 183
      * @part orm
183 184
      * @see \Codeception\Module\Yii2::seeRecord()
@@ -254,6 +255,7 @@  discard block
 block discarded – undo
254 255
      * ```
255 256
      *
256 257
      * @see \Codeception\Module\Yii2::amOnRoute()
258
+     * @param string $route
257 259
      */
258 260
     public function amOnRoute($route, $params = null) {
259 261
         return $this->getScenario()->runStep(new \Codeception\Step\Condition('amOnRoute', func_get_args()));
@@ -599,7 +601,7 @@  discard block
 block discarded – undo
599 601
      *
600 602
      * For checking the raw source code, use `seeInSource()`.
601 603
      *
602
-     * @param      $text
604
+     * @param      string $text
603 605
      * @param null $selector
604 606
      * @see \Codeception\Lib\InnerBrowser::see()
605 607
      */
@@ -672,7 +674,7 @@  discard block
 block discarded – undo
672 674
      *
673 675
      * For checking the raw source code, use `seeInSource()`.
674 676
      *
675
-     * @param      $text
677
+     * @param      string $text
676 678
      * @param null $selector
677 679
      * @see \Codeception\Lib\InnerBrowser::dontSee()
678 680
      */
@@ -1689,7 +1691,7 @@  discard block
 block discarded – undo
1689 1691
      * ]);
1690 1692
      * ```
1691 1693
      *
1692
-     * @param $selector
1694
+     * @param string $selector
1693 1695
      * @param $params
1694 1696
      * @param $button
1695 1697
      * @see \Codeception\Lib\InnerBrowser::submitForm()
Please login to merge, or discard this patch.
tests/codeception/_support/_generated/UnitTesterActions.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -117,7 +117,8 @@
 block discarded – undo
117 117
      * $user = $I->grabFixture('users', 'user1');
118 118
      * ```
119 119
      *
120
-     * @param $name
120
+     * @param string $name
121
+     * @param string $index
121 122
      * @return mixed
122 123
      * @throws ModuleException if a fixture is not found
123 124
      * @part fixtures
Please login to merge, or discard this patch.
tests/codeception/functional/RegisterCest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -286,6 +286,10 @@
 block discarded – undo
286 286
         $I->seeEmailIsSent();
287 287
     }
288 288
 
289
+    /**
290
+     * @param string $linkType
291
+     * @param string $messageText
292
+     */
289 293
     protected function getUrlFromEmail($linkType, $messageText)
290 294
     {
291 295
         preg_match_all("/href.+\"(.*)\">/imsU", $messageText, $m);
Please login to merge, or discard this patch.
traits/CommonTrait.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace inblank\activeuser\traits;
4 4
 
5 5
 use inblank\activeuser\Module;
6
-use yii;
7 6
 use yii\base\InvalidConfigException;
8 7
 
9 8
 /**
Please login to merge, or discard this patch.