@@ -17,7 +17,7 @@ |
||
| 17 | 17 | private $baseModel = null; |
| 18 | 18 | private $propertyGroups = null; |
| 19 | 19 | /** |
| 20 | - * @param \yii\db\ActiveRecord $baseModel |
|
| 20 | + * @param \app\models\Submission $baseModel |
|
| 21 | 21 | * @param array $config |
| 22 | 22 | */ |
| 23 | 23 | public function __construct($baseModel, $propertyGroups, $config=[]) |
@@ -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 | { |
@@ -224,7 +224,7 @@ |
||
| 224 | 224 | } |
| 225 | 225 | |
| 226 | 226 | /** |
| 227 | - * @return PropertyGroup|null |
|
| 227 | + * @return PropertyGroup |
|
| 228 | 228 | */ |
| 229 | 229 | public function getPropertyGroup() |
| 230 | 230 | { |
@@ -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(); |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | } |
| 35 | 35 | |
| 36 | 36 | /** |
| 37 | - * @return mixed |
|
| 37 | + * @return \app\modules\shop\models\Addon |
|
| 38 | 38 | */ |
| 39 | 39 | public function getModel() |
| 40 | 40 | { |