Completed
Branch master (b18118)
by Andrey
03:00
created
src/controllers/BaseController.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
     /**
168 168
      * Returns model.
169 169
      *
170
-     * @return ModelInterface|Model|ActiveRecordInterface
170
+     * @return \Itstructure\UsersModule\interfaces\ModelInterface
171 171
      */
172 172
     public function getModel(): ModelInterface
173 173
     {
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
     /**
188 188
      * Get validate component for main model.
189 189
      *
190
-     * @return ValidateComponentInterface|ProfileValidateComponent
190
+     * @return \Itstructure\UsersModule\interfaces\ValidateComponentInterface
191 191
      */
192 192
     public function getValidateComponent(): ValidateComponentInterface
193 193
     {
@@ -221,7 +221,7 @@  discard block
 block discarded – undo
221 221
      *
222 222
      * @param int|string $id
223 223
      *
224
-     * @return mixed
224
+     * @return string
225 225
      */
226 226
     public function actionView($id)
227 227
     {
@@ -356,7 +356,7 @@  discard block
 block discarded – undo
356 356
     /**
357 357
      * Returns new object of search main model.
358 358
      *
359
-     * @return mixed
359
+     * @return ActiveRecordInterface
360 360
      */
361 361
     protected function getNewSearchModel()
362 362
     {
Please login to merge, or discard this patch.
src/controllers/ProfileController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
      *
31 31
      * @param $action
32 32
      *
33
-     * @return mixed
33
+     * @return boolean
34 34
      */
35 35
     public function beforeAction($action)
36 36
     {
Please login to merge, or discard this patch.