@@ -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 | { |
@@ -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 | { |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | * Gets array of [[Osimage]] for $type |
59 | 59 | * |
60 | 60 | * @param string $type |
61 | - * @return Osimage[]|null |
|
61 | + * @return Osimage[] |
|
62 | 62 | */ |
63 | 63 | public static function getOsimages($type = null) |
64 | 64 | { |
@@ -154,7 +154,7 @@ discard block |
||
154 | 154 | * @param integer $tariff_id |
155 | 155 | * @throws NotFoundHttpException |
156 | 156 | * @throws UnprocessableEntityHttpException |
157 | - * @return Package|array |
|
157 | + * @return Osimage[] |
|
158 | 158 | */ |
159 | 159 | public static function getAvailablePackages($type = null, $tariff_id = null) |
160 | 160 | { |
@@ -236,7 +236,7 @@ discard block |
||
236 | 236 | } |
237 | 237 | |
238 | 238 | /** |
239 | - * @param $tariff |
|
239 | + * @param Tariff $tariff |
|
240 | 240 | * @return mixed |
241 | 241 | */ |
242 | 242 | public static function buildPackageClass($tariff) |