@@ -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']); |
@@ -11,6 +11,9 @@ |
||
11 | 11 | |
12 | 12 | trait DynamicContentTrait |
13 | 13 | { |
14 | + /** |
|
15 | + * @param string $route |
|
16 | + */ |
|
14 | 17 | public function loadDynamicContent($object_id, $route, $selections) |
15 | 18 | { |
16 | 19 | /** @var \app\components\Response $response */ |
@@ -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 | { |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | |
46 | 46 | /** |
47 | 47 | * Lists all Slider models. |
48 | - * @return mixed |
|
48 | + * @return string |
|
49 | 49 | */ |
50 | 50 | public function actionIndex() |
51 | 51 | { |
@@ -245,7 +245,7 @@ discard block |
||
245 | 245 | * Deletes an existing Slider model. |
246 | 246 | * If deletion is successful, the browser will be redirected to the 'index' page. |
247 | 247 | * @param string $id |
248 | - * @return mixed |
|
248 | + * @return Response |
|
249 | 249 | */ |
250 | 250 | public function actionDelete($id) |
251 | 251 | { |
@@ -56,7 +56,7 @@ |
||
56 | 56 | } |
57 | 57 | |
58 | 58 | /** |
59 | - * @return User |
|
59 | + * @return \yii\db\ActiveQuery |
|
60 | 60 | */ |
61 | 61 | public function getUser() |
62 | 62 | { |
@@ -112,7 +112,7 @@ |
||
112 | 112 | /** |
113 | 113 | * Return count of new notifications |
114 | 114 | * @param $current |
115 | - * @return mixed |
|
115 | + * @return boolean|string |
|
116 | 116 | */ |
117 | 117 | public function actionOnlyNewNotifications($current) |
118 | 118 | { |