@@ -130,7 +130,7 @@ discard block |
||
| 130 | 130 | } |
| 131 | 131 | |
| 132 | 132 | /** |
| 133 | - * @return OrderStageLeaf[] |
|
| 133 | + * @return \yii\db\ActiveQuery |
|
| 134 | 134 | */ |
| 135 | 135 | public function getNextLeafs() |
| 136 | 136 | { |
@@ -139,7 +139,7 @@ discard block |
||
| 139 | 139 | } |
| 140 | 140 | |
| 141 | 141 | /** |
| 142 | - * @return OrderStageLeaf[] |
|
| 142 | + * @return \yii\db\ActiveQuery |
|
| 143 | 143 | */ |
| 144 | 144 | public function getPrevLeafs() |
| 145 | 145 | { |
@@ -95,7 +95,7 @@ discard block |
||
| 95 | 95 | } |
| 96 | 96 | |
| 97 | 97 | /** |
| 98 | - * @return OrderStage|null |
|
| 98 | + * @return \yii\db\ActiveQuery |
|
| 99 | 99 | */ |
| 100 | 100 | public function getStageFrom() |
| 101 | 101 | { |
@@ -103,7 +103,7 @@ discard block |
||
| 103 | 103 | } |
| 104 | 104 | |
| 105 | 105 | /** |
| 106 | - * @return OrderStage|null |
|
| 106 | + * @return \yii\db\ActiveQuery |
|
| 107 | 107 | */ |
| 108 | 108 | public function getStageTo() |
| 109 | 109 | { |
@@ -83,7 +83,7 @@ discard block |
||
| 83 | 83 | } |
| 84 | 84 | |
| 85 | 85 | /** |
| 86 | - * @return Order |
|
| 86 | + * @return \yii\db\ActiveQuery |
|
| 87 | 87 | */ |
| 88 | 88 | public function getOrder() |
| 89 | 89 | { |
@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | } |
| 92 | 92 | |
| 93 | 93 | /** |
| 94 | - * @return PaymentType|null |
|
| 94 | + * @return \yii\db\ActiveQuery |
|
| 95 | 95 | */ |
| 96 | 96 | public function getPaymentType() |
| 97 | 97 | { |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | { |
| 17 | 17 | /** |
| 18 | 18 | * getShippingOption |
| 19 | - * @return ShippingOption |
|
| 19 | + * @return \yii\db\ActiveQuery |
|
| 20 | 20 | */ |
| 21 | 21 | public function getShippingOption() |
| 22 | 22 | { |
@@ -52,7 +52,7 @@ |
||
| 52 | 52 | } |
| 53 | 53 | |
| 54 | 54 | /** |
| 55 | - * @return SpecialPriceList|null |
|
| 55 | + * @return \yii\db\ActiveQuery |
|
| 56 | 56 | */ |
| 57 | 57 | public function getSpecialPriceList() |
| 58 | 58 | { |
@@ -156,7 +156,7 @@ |
||
| 156 | 156 | * Deletes an existing User model. |
| 157 | 157 | * If deletion is successful, the browser will be redirected to the 'index' page. |
| 158 | 158 | * @param integer $id |
| 159 | - * @return mixed |
|
| 159 | + * @return \yii\web\Response |
|
| 160 | 160 | */ |
| 161 | 161 | public function actionDelete($id) |
| 162 | 162 | { |
@@ -277,7 +277,7 @@ |
||
| 277 | 277 | * Deletes an existing User model. |
| 278 | 278 | * If deletion is successful, the browser will be redirected to the 'index' page. |
| 279 | 279 | * @param integer $id |
| 280 | - * @return mixed |
|
| 280 | + * @return \yii\web\Response |
|
| 281 | 281 | */ |
| 282 | 282 | public function actionDelete($id) |
| 283 | 283 | { |
@@ -31,6 +31,9 @@ discard block |
||
| 31 | 31 | */ |
| 32 | 32 | private $arrayMode = false; |
| 33 | 33 | |
| 34 | + /** |
|
| 35 | + * @param ActiveRecord $ownerModel |
|
| 36 | + */ |
|
| 34 | 37 | public function __construct($config = [], $ownerModel = null) |
| 35 | 38 | { |
| 36 | 39 | parent::__construct($config); |
@@ -52,7 +55,7 @@ discard block |
||
| 52 | 55 | } |
| 53 | 56 | |
| 54 | 57 | /** |
| 55 | - * @param $name |
|
| 58 | + * @param string $name |
|
| 56 | 59 | */ |
| 57 | 60 | public function setFormName($name) |
| 58 | 61 | { |
@@ -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 = []) |