Completed
Push — master ( b18118...1d9a1d )
by Andrey
01:23
created
src/components/ProfileValidateComponent.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@
 block discarded – undo
128 128
      *
129 129
      * @param IdentityInterface $model
130 130
      *
131
-     * @return ModelInterface
131
+     * @return \Itstructure\UsersModule\interfaces\ModelInterface
132 132
      */
133 133
     public function setModel(IdentityInterface $model): ModelInterface
134 134
     {
Please login to merge, or discard this patch.
src/controllers/BaseController.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
     /**
170 170
      * Returns model.
171 171
      *
172
-     * @return ModelInterface
172
+     * @return \Itstructure\UsersModule\interfaces\ModelInterface
173 173
      */
174 174
     public function getModel(): ModelInterface
175 175
     {
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
     /**
190 190
      * Get validate component for main model.
191 191
      *
192
-     * @return ValidateComponentInterface
192
+     * @return \Itstructure\UsersModule\interfaces\ValidateComponentInterface
193 193
      */
194 194
     public function getValidateComponent(): ValidateComponentInterface
195 195
     {
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
      *
224 224
      * @param int|string $id
225 225
      *
226
-     * @return mixed
226
+     * @return string
227 227
      */
228 228
     public function actionView($id)
229 229
     {
@@ -358,7 +358,7 @@  discard block
 block discarded – undo
358 358
     /**
359 359
      * Returns new object of search main model.
360 360
      *
361
-     * @return mixed
361
+     * @return ActiveRecordInterface
362 362
      */
363 363
     protected function getNewSearchModel()
364 364
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 use yii\web\{IdentityInterface, ConflictHttpException, BadRequestHttpException, NotFoundHttpException, Controller};
11 11
 use Itstructure\UsersModule\Module;
12 12
 use Itstructure\UsersModule\interfaces\{ModelInterface, ValidateComponentInterface};
13
-use Itstructure\UsersModule\components\ProfileValidateComponent;
14 13
 
15 14
 /**
16 15
  * Class BaseController
Please login to merge, or discard this patch.