@@ -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 |
@@ -135,7 +135,7 @@ |
||
135 | 135 | } |
136 | 136 | |
137 | 137 | /** |
138 | - * @param Model $model |
|
138 | + * @param \app\modules\shop\models\GoogleFeed $model |
|
139 | 139 | * @param string $glue |
140 | 140 | * @return string |
141 | 141 | */ |
@@ -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 | { |
@@ -16,7 +16,6 @@ |
||
16 | 16 | public static $returnUrlWithoutHistory = false; |
17 | 17 | |
18 | 18 | /** |
19 | - * @param int $depth |
|
20 | 19 | * @return string |
21 | 20 | */ |
22 | 21 | public static function getReturnUrl() |
@@ -33,6 +33,9 @@ |
||
33 | 33 | ]; |
34 | 34 | } |
35 | 35 | |
36 | + /** |
|
37 | + * @param string $key |
|
38 | + */ |
|
36 | 39 | public function searchByKey($key) |
37 | 40 | { |
38 | 41 |
@@ -44,7 +44,7 @@ |
||
44 | 44 | protected $subject = null; |
45 | 45 | |
46 | 46 | /** |
47 | - * @return null |
|
47 | + * @return string |
|
48 | 48 | */ |
49 | 49 | public function getSubject() |
50 | 50 | { |
@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | * @param Order $order |
93 | 93 | * @param SpecialPriceList $specialPrice |
94 | 94 | * @param $price |
95 | - * @return float |
|
95 | + * @return integer |
|
96 | 96 | */ |
97 | 97 | static public function getDiscountPriceOrder( |
98 | 98 | Order $order, |
@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | * @param Order $order |
122 | 122 | * @param SpecialPriceList $specialPrice |
123 | 123 | * @param $price |
124 | - * @return float |
|
124 | + * @return integer |
|
125 | 125 | */ |
126 | 126 | static public function getDeliveryPriceOrder( |
127 | 127 | Order $order, |
@@ -143,7 +143,7 @@ discard block |
||
143 | 143 | } |
144 | 144 | |
145 | 145 | /** |
146 | - * @param array $types |
|
146 | + * @param string[] $types |
|
147 | 147 | * @return array |
148 | 148 | */ |
149 | 149 | static protected function getDiscountsByAppliance($types = []) |
@@ -1094,7 +1094,7 @@ |
||
1094 | 1094 | } |
1095 | 1095 | |
1096 | 1096 | /** |
1097 | - * @param int|Category|null $category |
|
1097 | + * @param integer $category |
|
1098 | 1098 | * @param bool $asMainCategory |
1099 | 1099 | * @return bool |
1100 | 1100 | * @throws \yii\db\Exception |
@@ -80,6 +80,9 @@ |
||
80 | 80 | } |
81 | 81 | |
82 | 82 | |
83 | + /** |
|
84 | + * @param string $relationName |
|
85 | + */ |
|
83 | 86 | protected static function getRelation($model, $relationName, $default_value = '') |
84 | 87 | { |
85 | 88 | $result = $default_value; |