@@ -59,7 +59,7 @@ |
||
59 | 59 | /** |
60 | 60 | * Unified action for import and export |
61 | 61 | * @param $id |
62 | - * @param $importMode |
|
62 | + * @param boolean $importMode |
|
63 | 63 | * @return string|\yii\web\Response |
64 | 64 | * @throws ErrorException |
65 | 65 | */ |
@@ -93,6 +93,9 @@ |
||
93 | 93 | return $dataProvider; |
94 | 94 | } |
95 | 95 | |
96 | + /** |
|
97 | + * @param string $demand |
|
98 | + */ |
|
96 | 99 | public static function getByDemand($demand) |
97 | 100 | { |
98 | 101 | $sizes = explode('x', $demand); |
@@ -121,7 +121,7 @@ |
||
121 | 121 | } |
122 | 122 | |
123 | 123 | /** |
124 | - * @param null $name |
|
124 | + * @param string|null $name |
|
125 | 125 | * @return array|null|\yii\db\ActiveRecord |
126 | 126 | */ |
127 | 127 | public static function getGroupByName($name = null) |
@@ -145,6 +145,7 @@ |
||
145 | 145 | /** |
146 | 146 | * Получает отзывы по конкретной инстанции модели |
147 | 147 | * @var $models \app\modules\review\models\Review[] |
148 | + * @param integer $formId |
|
148 | 149 | * @return array |
149 | 150 | */ |
150 | 151 | public static function getForObjectModel($object_model_id, $object_id, $formId, $sort = SORT_ASC) |
@@ -91,7 +91,7 @@ |
||
91 | 91 | } |
92 | 92 | |
93 | 93 | /** |
94 | - * @return Response |
|
94 | + * @return integer |
|
95 | 95 | * @throws HttpException |
96 | 96 | */ |
97 | 97 | public function actionSavePropertyUnit() |
@@ -168,7 +168,7 @@ |
||
168 | 168 | } |
169 | 169 | |
170 | 170 | /** |
171 | - * @return array |
|
171 | + * @return string[] |
|
172 | 172 | */ |
173 | 173 | public function getOfferElements() |
174 | 174 | { |
@@ -44,11 +44,11 @@ |
||
44 | 44 | } |
45 | 45 | |
46 | 46 | /** |
47 | - * @param $property |
|
47 | + * @param \app\models\Property $property |
|
48 | 48 | * @param $model |
49 | 49 | * @param $values |
50 | 50 | * @param $form |
51 | - * @param $renderType |
|
51 | + * @param string $renderType |
|
52 | 52 | * @return string |
53 | 53 | */ |
54 | 54 | public function render($property, $model, $values, $form, $renderType) |
@@ -32,7 +32,7 @@ |
||
32 | 32 | } |
33 | 33 | |
34 | 34 | /** |
35 | - * @param null $id |
|
35 | + * @param integer $id |
|
36 | 36 | * @return null |
37 | 37 | */ |
38 | 38 | static public function getHandlerById($id = null) |
@@ -58,6 +58,9 @@ |
||
58 | 58 | }); |
59 | 59 | } |
60 | 60 | |
61 | + /** |
|
62 | + * @param null|User $user |
|
63 | + */ |
|
61 | 64 | private function mockUser($user) |
62 | 65 | { |
63 | 66 | $loginForm = $this->getMock('app\modules\user\models\LoginForm', ['getUser']); |