@@ -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 | { |
@@ -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) |