Completed
Push — master ( 0c0006...5ac185 )
by Klochok
13:14
created
src/models/Server.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/models/Package.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/controllers/ServerController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -395,7 +395,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/helpers/ServerHelper.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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)
Please login to merge, or discard this patch.