@@ -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 | { |
@@ -187,7 +187,7 @@ discard block |
||
187 | 187 | } |
188 | 188 | |
189 | 189 | /** |
190 | - * @param $property_id |
|
190 | + * @param integer $property_id |
|
191 | 191 | * @param $category_id |
192 | 192 | * @param $properties |
193 | 193 | * @return PropertyStaticValues[] |
@@ -313,6 +313,9 @@ discard block |
||
313 | 313 | return $allSelections; |
314 | 314 | } |
315 | 315 | |
316 | + /** |
|
317 | + * @param string $joinCondition |
|
318 | + */ |
|
316 | 319 | private static function initSubQuery($category_id, $joinCondition) |
317 | 320 | { |
318 | 321 | $subQuery = ObjectStaticValues::find(); |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | } |
42 | 42 | |
43 | 43 | /** |
44 | - * @return mixed |
|
44 | + * @return string |
|
45 | 45 | */ |
46 | 46 | public function getValue() |
47 | 47 | { |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | } |
50 | 50 | |
51 | 51 | /** |
52 | - * @param mixed $value |
|
52 | + * @param OfferTag[] $value |
|
53 | 53 | * @return $this |
54 | 54 | */ |
55 | 55 | public function setValue($value) |
@@ -46,7 +46,6 @@ discard block |
||
46 | 46 | |
47 | 47 | /** |
48 | 48 | * @param string $code |
49 | - * @param bool|true $useMainCurrency |
|
50 | 49 | * @return Currency |
51 | 50 | */ |
52 | 51 | static public function findCurrencyByIso($code) |
@@ -57,7 +56,7 @@ discard block |
||
57 | 56 | } |
58 | 57 | |
59 | 58 | /** |
60 | - * @param float|int $input |
|
59 | + * @param integer $input |
|
61 | 60 | * @param Currency $from |
62 | 61 | * @param Currency $to |
63 | 62 | * @return float|int |
@@ -84,7 +83,7 @@ discard block |
||
84 | 83 | } |
85 | 84 | |
86 | 85 | /** |
87 | - * @param float|int $input |
|
86 | + * @param integer $input |
|
88 | 87 | * @param Currency $from |
89 | 88 | * @return float|int |
90 | 89 | */ |
@@ -94,7 +93,7 @@ discard block |
||
94 | 93 | } |
95 | 94 | |
96 | 95 | /** |
97 | - * @param float|int $input |
|
96 | + * @param integer $input |
|
98 | 97 | * @param Currency $from |
99 | 98 | * @return float|int |
100 | 99 | */ |
@@ -104,7 +103,7 @@ discard block |
||
104 | 103 | } |
105 | 104 | |
106 | 105 | /** |
107 | - * @param float|int $input |
|
106 | + * @param integer $input |
|
108 | 107 | * @param Currency $to |
109 | 108 | * @return float|int |
110 | 109 | */ |
@@ -5,5 +5,8 @@ |
||
5 | 5 | |
6 | 6 | interface ModificationDataInterface |
7 | 7 | { |
8 | + /** |
|
9 | + * @return void |
|
10 | + */ |
|
8 | 11 | public static function processData(ModificationDataEvent $event); |
9 | 12 | } |
10 | 13 | \ No newline at end of file |
@@ -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 | { |