@@ -91,7 +91,7 @@ |
||
91 | 91 | /** |
92 | 92 | * Determine good server states. |
93 | 93 | * |
94 | - * @return array |
|
94 | + * @return string[] |
|
95 | 95 | */ |
96 | 96 | public function goodStates() |
97 | 97 | { |
@@ -395,7 +395,7 @@ |
||
395 | 395 | * |
396 | 396 | * @param Server $model |
397 | 397 | * @throws NotFoundHttpException |
398 | - * @return array |
|
398 | + * @return Osimage[] |
|
399 | 399 | */ |
400 | 400 | protected function getOsimages(Server $model = null) |
401 | 401 | { |
@@ -13,7 +13,6 @@ discard block |
||
13 | 13 | use hipanel\actions\Action; |
14 | 14 | use hipanel\actions\ComboSearchAction; |
15 | 15 | use hipanel\actions\IndexAction; |
16 | -use hipanel\actions\OrientationAction; |
|
17 | 16 | use hipanel\actions\PrepareBulkAction; |
18 | 17 | use hipanel\actions\ProxyAction; |
19 | 18 | use hipanel\actions\RedirectAction; |
@@ -39,7 +38,6 @@ discard block |
||
39 | 38 | use yii\base\Event; |
40 | 39 | use yii\filters\VerbFilter; |
41 | 40 | use yii\helpers\ArrayHelper; |
42 | -use yii\rest\UpdateAction; |
|
43 | 41 | use yii\web\NotFoundHttpException; |
44 | 42 | use yii\web\Response; |
45 | 43 |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | * Gets array of [[Osimage]] for $type. |
56 | 56 | * |
57 | 57 | * @param string $type |
58 | - * @return Osimage[]|null |
|
58 | + * @return Osimage[] |
|
59 | 59 | */ |
60 | 60 | public static function getOsimages($type = null) |
61 | 61 | { |
@@ -150,7 +150,7 @@ discard block |
||
150 | 150 | * @param integer $tariff_id |
151 | 151 | * @throws NotFoundHttpException |
152 | 152 | * @throws UnprocessableEntityHttpException |
153 | - * @return Package|array |
|
153 | + * @return Osimage[] |
|
154 | 154 | */ |
155 | 155 | public static function getAvailablePackages($type = null, $tariff_id = null) |
156 | 156 | { |
@@ -197,7 +197,7 @@ discard block |
||
197 | 197 | } |
198 | 198 | |
199 | 199 | /** |
200 | - * @param $tariff |
|
200 | + * @param Tariff $tariff |
|
201 | 201 | * @return mixed |
202 | 202 | */ |
203 | 203 | public static function buildPackageClass($tariff) |